Google maps directions service -


i have issue whith google maps directions service (api v3). don't know how specify origin , destination strings. example requests:

http://maps.googleapis.com/maps/api/js?sensor=false&region=es&languaje=es&key=xxxxxxxxxxxxx&origin="ejido+el,espaÑa,04700"&destination="corcolle,italia,00010"

or

http://maps.googleapis.com/maps/api/directions/xml?sensor=false&region=es&languaje=es&origin="ejido+el,espaÑa,04700"&destination="corcolle,italia,00010"

the response of server is: not_found, ie route not found,

however if change character Ñ n, ie espaÑa espana response ok.

there other places "especial characters" example: göttingen, münchen, köln, ....

i have been looking information in documentation can not find about.

how can specify different origins , destinations?

regards,

francisco

request http://maps.googleapis.com/maps/api/directions/xml?sensor=false&region=es&languaje=es&origin="ejido+el,espaÑa,04700"&destination="corcolle,italia,00010" true, can test in browser. if have issue in request maybe come url encoding. special character in string url need encode before request string


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -