On Dec 15, 4:24 am, Christian Zambrano <[email protected]> wrote:
> The response of a request for direction to the Google Maps Web Service
> includes encoded polylines in the element overview_polyline. I would like to
> display these polylines on a Javascript google map V3 but there doesn't seem
> to be a way. Am I missing something? V2 had GPolyline which accepted encoded
> Polylines.
>
> Any help would be greatly appreciated.

For some examples, look at:

    http://www.polylib.us/polycluster/coast/encoded.html
    http://www.polylib.us/polycluster/coast/chicago.html
    http://www.polylib.us/polycluster/coast/hawaii.html

The first is legal.  The last two may not be legal due to calling
Google's KML parser directly.  I will ask for an opinion from Google
in another thread.

Both the API & PolyCluster perform point reduction "on the fly".  The
"levels" zoom string is a relic of the past.  It adds 50% dead weight
to the total payload.  It does nothing to reduce the size of the poly
itself.

For what it is worth, "mouse event" support was added to PolyCluster a
couple of months ago.

See:

    http://www.polylib.us

for additional demos, class reference documentation & an in progress
tutorial.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to