diff --git a/src/ol/interaction/modify.js b/src/ol/interaction/modify.js index abf0274778b..b9113451cdd 100644 --- a/src/ol/interaction/modify.js +++ b/src/ol/interaction/modify.js @@ -1088,6 +1088,7 @@ ol.interaction.Modify.prototype.removeVertex_ = function() { this.overlay_.getSource().removeFeature(this.vertexFeature_); this.vertexFeature_ = null; } + dragSegments.length = 0; } }