[OpenLayers-Users] Override 'click' event of RegularPolygon handler
piero.campa at gmail.com
Tue Jul 20 13:51:35 EDT 2010
I was trying to personalize the behaviout of my DrawFeature control, but I
can't find the function defining the 'click' trigger in the RegularPolygon
I tried to define separately an OpenLayers.Control.Click
(http://openlayers.org/dev/examples/click.html) but it's not working
whenever a OpenLayers.Control.DrawFeature is set.
I tried to override the OpenLayers.Handler.Drag.click function (the
RegularPolygon handler descends from it), but it seems the click function is
never called by the RegularPolygon handler.
Thank you for reading.
(RegularPolygon handler source:
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Override-click-event-of-RegularPolygon-handler-tp5317744p5317744.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users