On Jul 5, 9:25 am, Phan Dinh Khoi <[email protected]> wrote: > I'm developing an embedded software running on Wince 5.0 in which user > can query a route to an address and the application should show the > way on a map. I'm using google map and google Direction API over GPRS > connection but the Direction API just works with GPS coordinate, it > does not work with string address. > For example if I send a request with > URL:http://maps.google.com/maps/api/directions/xml?origin=10.771697,106.6... > google API return a good route in an xml file with status OK. But when > I send a request with > URLhttp://maps.google.com/maps/api/directions/xml?origin=10.771697,106.6... > co,hcm&sensor=true (with an address in destination parameter) > Google return an xml file with status REQUEST_DENIED. Does anybody > know the reason why? Those 2 requests work fine when using Firefox on > PC or using IE.
The second request does not work fine in a browser. You are not giving the mandatory "sensor" parameter. -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
