Encoding polylines?

41 views
Skip to first unread message

Hadmut

unread,
Sep 5, 2011, 4:16:11 PM9/5/11
to google-map...@googlegroups.com
Hi,

is there a description about the encoding polylines such that they can be decoded with

google.maps.geometry.encoding.decodePath ?




regards


geoco...@gmail.com

unread,
Sep 5, 2011, 4:21:56 PM9/5/11
to Google Maps JavaScript API v3
Have you seen this:
http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/

-- Larry

>
> regards

Hadmut

unread,
Sep 6, 2011, 6:49:21 PM9/6/11
to Google Maps JavaScript API v3
This looks like the old algorithm google used some years ago (I guess
it was v2 or even v1). But is this still the same? I doubt, since to
my knowledge zoom levels are not used anymore. I thought, this old API
was obsoleted and replaced with something newer.

Esa

unread,
Sep 6, 2011, 8:10:05 PM9/6/11
to Google Maps JavaScript API v3


On Sep 7, 1:49 am, Hadmut <had...@googlemail.com> wrote:

> This looks like the old algorithm google used some years ago (I guess
> it was v2 or even v1). But is this still the same? I doubt, since to
> my knowledge zoom levels are not used anymore. I thought, this old API
> was obsoleted and replaced with something newer.

The algorithm is still valid. Forget the zoom levels. Now you can
reach also encoding by API.
http://code.google.com/apis/maps/documentation/javascript/reference.html#encoding

geoco...@gmail.com

unread,
Sep 6, 2011, 8:40:32 PM9/6/11
to Google Maps JavaScript API v3
On Sep 6, 3:49 pm, Hadmut <had...@googlemail.com> wrote:
> On 5 Sep., 22:21, "geocode...@gmail.com" <geocode...@gmail.com> wrote:
>
> > Have you seen this:http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/
>
> This looks like the old algorithm google used some years ago (I guess
> it was v2 or even v1). But is this still the same?

Yes.

> I doubt, since to my knowledge zoom levels are not used anymore. I thought, this old API
> was obsoleted and replaced with something newer.

The zoom levels are no longer used.

-- Larry
Reply all
Reply to author
Forward
0 new messages