Re: 2 or more encoded polylines WITHOUT being connected
So.. Can you recommend the best way to display multiple lines?
On Jun 22, 3:49 pm, Andrew Leach <andrew.leac...@gmail.com> wrote:
> On Jun 22, 9:09 pm, majestic <john.a.ea...@gmail.com> wrote:
>
>
>
> > Is there a way to use 2 or more encoded polylines WITHOUT being
> > connected together without using multiple overlays.
>
> No.
>
> GPolyline.fromEncoded() accepts a single encoded string (together with
> a levels string).
>
> GPolygon.fromEncoded() accepts an array of encoded polylines in order
> to define a polygon. Each of the polylines specifies a boundary of the
> polygon -- which is how you can achieve disjoint polygons and polygons
> with holes. Because they are all treated together as a single polygon
> it *might* help you; but I've not tried it with boundaries which
> aren't closed.
--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home