Hello,

I'm trying to develop a new handler for one special app using openlayers.

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:

new OpenLayers.Control.DrawFeature(crater,
OpenLayers.Handler.RegularPolygon1, {
        handlerOptions: {
             irregular: true
        }

I got this exception.

Exception: this.handler.setMap is not a function File:
http://127.0.0.1:8000/mars/lib/OpenLayers/Control.js Line: 236 Column: 0

Obviuslly i'm missing something but I don't really know what it is.

Thank you for your collaboration.

Kind Regards.

Camilo V.
_______________________________________________
Dev mailing list
Dev@openlayers.org
http://openlayers.org/mailman/listinfo/dev

Reply via email to