Hello,<br><br>I&#39;m trying to develop a new handler for one special app using openlayers.<br><br>The process which I followed was create one based on the RegularPolygon add new javascript in the openlayers.js in the jsfiles array. But once I try the new handler with:<br>
<br>new OpenLayers.Control.DrawFeature(crater, OpenLayers.Handler.RegularPolygon1, {<br>        handlerOptions: {<br>             irregular: true<br>        }<br><br>I got this exception.<br><br>Exception: this.handler.setMap is not a function File: <a href="http://127.0.0.1:8000/mars/lib/OpenLayers/Control.js">http://127.0.0.1:8000/mars/lib/OpenLayers/Control.js</a> Line: 236 Column: 0<br>
<br>Obviuslly i&#39;m missing something but I don&#39;t really know what it is.<br><br>Thank you for your collaboration.<br><br>Kind Regards.<br><br>Camilo V.<br>