Do not update RTree while dragging vertices

This commit is contained in:
ahocevar
2014-03-19 11:36:55 +01:00
parent 1fc1cd0b2f
commit 878f7cc7c8

View File

@@ -448,10 +448,7 @@ ol.interaction.Modify.prototype.handlePointerDrag = function(evt) {
}
geometry.setCoordinates(coordinates);
var newBounds = ol.extent.boundingExtent(segment);
this.createOrUpdateVertexFeature_(vertex);
this.rBush_.remove(segmentData);
this.rBush_.insert(newBounds, segmentData);
}
};