R: [OpenLayers-Users] "Donut hole" Polygo Holemodifier doesn't work when a

francescoboccacci at libero.it francescoboccacci at libero.it
Wed May 9 11:18:57 PDT 2012


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: saikouni at yahoo.com
>Data: 09/05/2012 19.56
>A: <openlayers-users at lists.osgeo.org>
>Ogg: [OpenLayers-Users] &quot;Donut hole&quot; Polygo Holemodifier doesn&#39;
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
>Users at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/openlayers-users
>




More information about the Users mailing list