Hi

Thank you very much for your insight.

So the conclusion must be that I loose about 1 meters precision if I
encode a polyline.

Another problem arises if the user edits an encoded polyline and I
decode it, just to encode it again (to update the entry in the
database).

>From the example above the decoded lng is -122.14300000000001 if that
is encoded again it becomes -122.14301, which by your numbers would be
another meter? (from there on the decode/encode process is lossless).


Marcelo > Your point is valid, a 1000 point route is unlikely, but if
I can compress the data I need to send to the server I would do so :)
- that and google maps supposedly draws a polyline faster from
encoded?

regards
mat
--~--~---------~--~----~------------~-------~--~----~
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