So.. Can you recommend the best way to display multiple lines? On Jun 22, 3:49 pm, Andrew Leach <[email protected]> wrote: > On Jun 22, 9:09 pm, majestic <[email protected]> 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 [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.
