Do not update RTree while dragging vertices
This commit is contained in:
1 parent
1fc1cd0b2f
commit
878f7cc7c8
1 file changed
-3
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user