Drag and Drop Feature in Openlayers 3
问题 What is the equivalent for the OpenLayers 2 "OpenLayers.Control.DragFeature" functionality. I need to add an Icon to a map, that is moveable with the mouse. When dropping I need to catch the event. In OpenLayers 2, the described functionality is: new OpenLayers.Control.DragFeature(this.MarkersLayer, { onComplete: function(feature, pixel) { /* here comes the action after dropping the marker */ }} Does anyone has an idea how this can be accomplished with OpenLayers 3? 回答1: OpenLayers 3 now