You can't draw a polygon with multiple holes with my tool. But it is possible to use kml and have polygons with multiple holes. You just add a new set of inner boundary tags for each hole. This page http://www.birdtheme.org/mainlyimages/index.php?spec=1368 has a map with data from a kml-coded file, and one polygon has two holes.
On Aug 6, 5:49 am, kentkwk <[email protected]> wrote: > On Aug 5, 11:37 pm, webbirder <[email protected]> wrote: > > > I do this without encoding in my google maps > > toolhttp://www.birdtheme.org/useful/googletool.html > > by setting the kml LineStyle width to 0 (zero). Create a polygon with > > hole with my tool and have a look at the kml. > > Hi webbirder, > > Thanks for the alternative. I've tried your method of creating the > "hole" inside my polygon. > It works well with one "hole". (one outer boundaries tag and one inner > boundary tag in KML) > > However, it seems to produce weird results when I tried to add > multiple "holes" inside the polygon. (one outer boundary tag and > multiple inner boundary tag in KML) > There is a polyline which connects the multiple "holes" in your tool. > > I intend to create multiple "holes" which do not connected to each > other inside the polygon. > Is there any way to do it? > Thanks in advance. > > P/S: Not sure if GPolygon.fromEncoded helps, still looking into it >.< > > Best Regards, > Kent --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
