I'm using OpenLayers-3.8.2. I have modify interaction as follows:
selectedInteraction = ...
modifyInteraction = new ol.interaction.Modify({
features: selectInteraction.getFeatures()
});
I want to define an event that when a point of feature change, it fires. Something like this, but NOT for drawing, for modifying.
How do I do?
modifyInteraction.on('modifyend', function (evt) {//your code});
modify
end. But I want to fire when a feature is sketched.modifystart
, andmodifyend
events related to sketching.