From 2211aec553420a2877b16b07da8eba7f02457e68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Wed, 27 Nov 2013 15:54:00 +0100 Subject: [PATCH] Use rBush.getAll and rBush.getAllInExtent --- src/ol/source/vectorsource.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/source/vectorsource.js b/src/ol/source/vectorsource.js index e1f5ab294e..f3bc0850dc 100644 --- a/src/ol/source/vectorsource.js +++ b/src/ol/source/vectorsource.js @@ -116,7 +116,7 @@ ol.source.Vector.prototype.forEachFeatureInExtent = * @return {Array.} Features. */ ol.source.Vector.prototype.getAllFeatures = function() { - return this.rBush_.all(); + return this.rBush_.getAll(); }; @@ -138,7 +138,7 @@ ol.source.Vector.prototype.getAllFeaturesAtCoordinate = function(coordinate) { * @return {Array.} Features. */ ol.source.Vector.prototype.getAllFeaturesInExtent = function(extent) { - return this.rBush_.allInExtent(extent); + return this.rBush_.getAllInExtent(extent); };