On May 22, 1:40 am, Christoph K <[email protected]> wrote:
> I am trying to use a encoded polyline to get a static map, however it
> fails. It seems to work with a limited number of points, but breaks
> with more. Not sure if the library I found is wrong, or if I need to
> escape some characters.

It looks like your \ characters are already escaped. I can't remember
whether they need to be so in URLs, but I doubt it.

Using Mark McClure's pages at 
http://facstaff.unca.edu/mcmcclur/googlemaps/encodepolyline/
to decode your string and plot the points, it does seem an unusual
line. Perhaps you could use his pages to encode your points and see if
it behaves better?

If it works with "a limited number of points" then the point at which
it breaks is where the encoding is wrong. That does seem to be around
the escaped pair of backslashes.

-- 
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