Hi, which OS do you have? If you are using Linux and FF you can draw holes just push ALT+CTRL. i hope this is usefull.
Regards, Francesco >----Messaggio originale---- >Da: [email protected] >Data: 09/05/2012 19.56 >A: <[email protected]> >Ogg: [OpenLayers-Users] "Donut hole" Polygo Holemodifier doesn' t work when a > >In the following code the holeModifier option doesn't work. It simple draws >another standard polygon on top of the initial poygon. Yet if the >events.register line is commented out, it works fine. Is this an OL bug? My >dev browser is FF. > >polydraw = new OpenLayers.Control.DrawFeature( > vector, > OpenLayers.Handler.Polygon, > {handlerOptions: {holeModifier: "altKey"}} > >); > >polydraw.events.register("feature", ' ' , aftFunc); > >map.addControl(polydraw); >polydraw.activate(); > >-- >View this message in context: http://osgeo-org.1560.n6.nabble.com/Donut-hole- Polygo-Holemodifier-doesn-t-work-when-a-tp4963699.html >Sent from the OpenLayers Users mailing list archive at Nabble.com. >_______________________________________________ >Users mailing list >[email protected] >http://lists.osgeo.org/mailman/listinfo/openlayers-users > _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
