On Jun 10, 9:17 am, Andrew Leach <[email protected]>
wrote:
> On Jun 10, 1:57 pm, label <[email protected]> wrote:
>
>
>
> >http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/
>
> > Thanks, I've seen that already and all it seems to do is create a
> > polyline from encoded data.
> > What I want is the other way around : to get an encoded string from a
> > polyline.
>
> Under the heading "Encoding utilities" there are four links, the
> bottom one of which takes an array of GLatLng() points and produces an
> encoded string.
>
> Whatever you do, don't use Google's utility as that gets the Levels
> string wrong and reduces the effectiveness of the encoding.
>
> Andrew


Maybe I'm missing something but all I see is functions that return
GPolyline objects...

return new GPolyline.fromEncoded(this.dpEncodeToJSON(points, color,
weight, opacity));


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