Wednesday, March 16, 2011

[Google Maps API v2] GDirections not working for Dubai lat lng

Hi,

I am using Google Maps API V2. GDirections does not work for any lat
lng of Dubai, where as the same code works for any other lat lngs like
Denmark and India. Please suggest what could be wrong for Dubai.

Below is the code snippet that works for all other lat lngs except
Dubai:

var directions = new GDirections();
var query = "from: "+latitude+","
+longitude+" to:"
+latitude+","
+lng;
directions.load(query,{getSteps:true,getPolyline:true});

Regards,
Satyapal

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate