Thanks, I already found a couple of hints proposing this technique. In one of them it was done by specifying two polygons, with the following comment
"When the API uses canvas to render polygons, then you only get a hole if the inner polyline has the opposite handedness to the outer polyline" In your sample I don't see this "reverse order demand", but the need for an encoded polyline. Is the polyline point encoding function available in JS somewhere? Regards Björn Brala schrieb: > Perhaps this will help. > > http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/examplePolygons.html > > 2008/12/21 Neil.Young <[email protected] > <mailto:[email protected]>> > > > > > Actually, it can be done by building a zero width bridge in both > > directions between the outer & inner polys. > > > > > Could you please be a bit more specific on this? I understand the > idea, > but how can this be achieved using GPolygon? > Regards > > > > > > > > > > -- > Bjorn Brala > ---------------- > GeoStart.nl- Google maps - Swis Webdesign > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
