Add ol.source.Vector#getExtent

This commit is contained in:
Tom Payne
2013-12-15 23:11:07 +01:00
parent 47e2dd53ce
commit 975e0c0576

View File

@@ -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.
* @private