That's because the editor :| The full URL is like this
http://maps.google.com/maps/api/directions/xml?origin=10.771697,106.641476&destination=%22au%20co,hcm%22&sensor=true
(with sensor=true)
That URL works in browser but if I send it by using AT command over
GPRS, google always return REQUEST_DENIED

On Jul 5, 5:13 pm, Andrew Leach <[email protected]> wrote:
> 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 DirectionAPIoverGPRS
> > connection but the DirectionAPIjust 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...
> > googleAPIreturn 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.

Reply via email to