And then encode them so I can easily store on the database? Hmm.. yeah,
that's a nice solution! But I was hopping to have an method (native) to do
this job (directly convert the GPolyline object into encoded string). I'll
implement it and post here, maybe it's gonna be useful for someone else! ;)

Thank you!

On Wed, Nov 25, 2009 at 3:32 PM, Rossko <[email protected]> wrote:

> > 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).
>
> So get the lat/lng points of your polyline
> See the documentation
>
> http://code.google.com/apis/maps/documentation/reference.html#GPolyline.getVertex
>
> --
>
> 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]<google-maps-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api?hl=en.
>
>
>

--

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