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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user