Block removePoint during while dragging
This commit is contained in:
1 parent
36b8f31f40
commit
cd2ea6c7d6
1 file changed
+1
-1
@@ -889,7 +889,7 @@ ol.interaction.Modify.prototype.insertVertex_ = function(segmentData, vertex) {
|
||||
*/
|
||||
ol.interaction.Modify.prototype.removePoint = function() {
|
||||
var handled = false;
|
||||
if (this.lastPointerEvent_) {
|
||||
if (this.lastPointerEvent_ && this.lastPointerEvent_.type != ol.MapBrowserEvent.EventType.POINTERDRAG) {
|
||||
var evt = this.lastPointerEvent_;
|
||||
this.willModifyFeatures_(evt);
|
||||
handled = this.removeVertex_();
|
||||
|
||||
Reference in new issue
Block a user