Update ol.interaction.Modify to use ol.structs.RTree#getAllInExtent

This commit is contained in:
Tom Payne
2013-11-27 15:11:42 +01:00
parent 5d3a5ae68e
commit c00d748384

View File

@@ -454,7 +454,7 @@ ol.interaction.Modify.prototype.handleMouseMove_ = function(evt) {
this.modifiable_ = false;
var vertexFeature = this.vertexFeature_;
var rBush = this.rBush_;
var nodes = rBush.allInExtent(box);
var nodes = rBush.getAllInExtent(box);
var renderIntent = ol.layer.VectorLayerRenderIntent.HIDDEN;
if (nodes.length > 0) {
nodes.sort(sortByDistance);