> GDownloadUrl("googlexml.jsp?p=lat1 lng1&p=lat2 lng2.......&p=lat(n)
> lng(n)") , function(data){ })
>
> where the jsp keeps on appending itself depending on the points on the
> polyline. The program runs fine when the no. of points on the route is
> less, as it increases, the GDownloadUrl fails and am not able to fetch
> xml. We understand this is a limitation of GDownloadUrl.
It's a limitation of URLs in general, which have a maximum character
length. Don't use the URL to include your lat/longs as 'GET'
arguments by default, instead use the 'POST' method to send the data
outside of the URL.
http://code.google.com/apis/maps/documentation/reference.html#GDownloadUrl
--
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.