I don't think your lines are encoded correctly. Try this decoder utility, by Marc McClur, who is the top expert on encoded polylines: http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/decode.html
If you put some of your encoded lines there, you get some values spanning from India to Jasper National Park, in Canada, in the same line, and some other crazy values, like latitude -178. What are you using to encode the lines? -- Marcelo - http://maps.forum.nu -- On Dec 17, 4:35 am, Ajay Reddy <[email protected]> wrote: > Hi, > > I am encoding points on a route and creating a thumbnail image using > the static maps API. The route generated using this is accurate for > some but shows just two points for others. I used the decoding > function > fromhttp://unitstep.net/blog/2008/08/02/decoding-google-maps-encoded-poly... > and verified that the points passed are indeed correct. > I'm not able to figure out why the routes created are not accurate > everytime. > Could anybody please help? > Here's the page where the route thumbnail images are displayed > -http://www.tripnaksha.com/index.php?option=com_showalltrails&Itemid=44 > The Jasper skyline trail is marked correctly, while all the other > images just have a line between two points. -- 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.
