Rename getAllFeatures to getFeatures
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
@exportProperty ol.source.Vector.prototype.addFeatures
|
||||
@exportProperty ol.source.Vector.prototype.forEachFeature
|
||||
@exportProperty ol.source.Vector.prototype.forEachFeatureInExtent
|
||||
@exportProperty ol.source.Vector.prototype.getAllFeatures
|
||||
@exportProperty ol.source.Vector.prototype.getFeatures
|
||||
@exportProperty ol.source.Vector.prototype.getAllFeaturesAtCoordinate
|
||||
@exportProperty ol.source.Vector.prototype.getClosestFeatureToCoordinate
|
||||
@exportProperty ol.source.Vector.prototype.getExtent
|
||||
|
||||
@@ -193,7 +193,7 @@ ol.source.Vector.prototype.forEachFeatureInExtent =
|
||||
* @return {Array.<ol.Feature>} Features.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.source.Vector.prototype.getAllFeatures = function() {
|
||||
ol.source.Vector.prototype.getFeatures = function() {
|
||||
var features = this.rBush_.getAll();
|
||||
if (!goog.object.isEmpty(this.nullGeometryFeatures_)) {
|
||||
goog.array.extend(
|
||||
|
||||
Reference in New Issue
Block a user