I don’t think this works with the editing toolbar, since you cannot give 
handlerOptions to its drawing controls.

So either create your own toolbar or set this code:

OpenLayers.Handler.Polygon.prototype.holeModifier = “altKey";

Best regards,
Bart

--
Bart van den Eijnden
Front-end Developer | Boundless
@boundlessgeo

On 26 Nov 2013, at 12:53, adityakumar529 <adityakumar...@gmail.com> wrote:

> Hey Bart,
>  This is the same example I had used. But I am not able to activate the
> controls.
> 
> 
> Aditya Kumar
> 
> 
> 
> -----
> GIS Developer
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Drawing-Holes-in-Polygons-tp5091258p5091261.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> us...@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to