From c00d748384715af634ca5ec7ec137d5399afab62 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Wed, 27 Nov 2013 15:11:42 +0100 Subject: [PATCH] Update ol.interaction.Modify to use ol.structs.RTree#getAllInExtent --- src/ol/interaction/modifyinteraction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/interaction/modifyinteraction.js b/src/ol/interaction/modifyinteraction.js index 6854a49856..e473be2f9c 100644 --- a/src/ol/interaction/modifyinteraction.js +++ b/src/ol/interaction/modifyinteraction.js @@ -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);