I tried two methods.
Events.modEdit = new OpenLayers.Control.ModifyFeature(layer,{
beforeSelectFeature: function(e){ Events.modifyShape(e); }});
and
Events.modEdit = new OpenLayers.Control.ModifyFeature(layer,
{eventListeners: { beforeSelectFeature: function(e){
Events.modifyShape(e);
}}
});
Neither of these call the beforeSelectFeature. I also tried the dragStart,
dragVertex, and dragComplete.
Does this controller not work like most?
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/ModifyFeature-events-help-tp6606713p6606713.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users