Reset dragSegments after vertex deletion

This commit is contained in:
Andreas Hocevar
2017-03-20 09:39:34 +01:00
parent 576b646f36
commit 35ef65e6b9

View File

@@ -1088,6 +1088,7 @@ ol.interaction.Modify.prototype.removeVertex_ = function() {
this.overlay_.getSource().removeFeature(this.vertexFeature_);
this.vertexFeature_ = null;
}
dragSegments.length = 0;
}
}