[OpenLayers-Users] "Donut hole" Polygo Holemodifier doesn't work
when a
pov
saikouni at yahoo.com
Wed May 9 10:56:03 PDT 2012
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.
More information about the Users
mailing list