Merge pull request #6606 from ahocevar/delete-segmentdata

Reset dragSegments after vertex deletion
This commit is contained in:
Andreas Hocevar
2017-03-20 18:17:34 +01:00
committed by GitHub

View File

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