[OpenLayers-Users] ModifyFeature events help.

ulao S_K_U_N_X at yahoo.com
Thu Jul 21 09:13:55 EDT 2011


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.


More information about the Users mailing list