Hi! I'm developing a map based application where the user will be able to
draw lines and insert markers.
I've found an example at Google Maps API documentation that shows what I'm
trying to do (
http://gmaps-samples.googlecode.com/svn/trunk/poly/mymapstoolbar.html)

The problem is that I need to store the data on a database, and I'm having
troubles to *convert a GPolyline into a compact encoded format*. In this
example (http://code.google.com/apis/maps/documentation/polylineutility.html)
it's possible to do that, but the difference is that I can only create a
encoded polyline from latlng points, not the opposite (export a polyline to
latlng points).

I've also found this class (
http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/) but it did't
help me because it only supports a conversion of latlag points to polyline,
the same thing that I'm able do using the GPolyline.fromEncoded method.

Thanks in advance!

Jonatan

--

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