Add ol.source.Vector#getExtent
This commit is contained in:
@@ -212,6 +212,14 @@ ol.source.Vector.prototype.getClosestFeatureToCoordinate =
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return {ol.Extent} Extent.
|
||||||
|
*/
|
||||||
|
ol.source.Vector.prototype.getExtent = function() {
|
||||||
|
return this.rBush_.getExtent();
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {goog.events.Event} event Event.
|
* @param {goog.events.Event} event Event.
|
||||||
* @private
|
* @private
|
||||||
|
|||||||
Reference in New Issue
Block a user