Update getExtent return value jsdoc tag

The extent is never `null`; if the source is empty, the extent is
`[Infinity, Infinity, -Infinity, -Infinity]`
This commit is contained in:
Frederic Junod
2015-11-02 14:29:01 +01:00
parent 135d66dac7
commit eb762b6f4a
2 changed files with 2 additions and 2 deletions

View File

@@ -659,7 +659,7 @@ ol.source.Vector.prototype.getClosestFeatureToCoordinate =
*
* This method is not available when the source is configured with
* `useSpatialIndex` set to `false`.
* @return {ol.Extent} Extent.
* @return {!ol.Extent} Extent.
* @api stable
*/
ol.source.Vector.prototype.getExtent = function() {