Hello

I have added holeModifier to a DrawFeature control on a Vector polygon layer to 
enable digitising holes in a polygon:

dpoly: new OpenLayers.Control.DrawFeature(padds,OpenLayers.Handler.Polygon,{id: 
'ctrldraw', handlerOptions: {holeModifier: "altKey"}})

This works on Firefox (v23) and Chrome (v29) but not on IE 8 or 10. Has anyone 
else struck this problem, and if so, how have you solved it?

Secondly, is there any way to remove a donut from a polygon once you have 
created it? I have a ModifyFeature control on the same layer:

modify: new 
OpenLayers.Control.ModifyFeature(padds,OpenLayers.Handler.Polygon,{id: 
'ctrlmod'});

I can see the vertices of the donut polygon and even delete some, but I am 
always left with a pair of vertices defining a sliver (zero area) polygon.

Many thanks,

Robert Sanson



This email and any attachments are confidential and intended solely for the 
addressee(s). If you are not the intended recipient, please notify us 
immediately and then delete this email from your system.

This message has been scanned for Malware and Viruses by Websense Hosted 
Security.
www.websense.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to