Improve documentation of opt_extent
This commit is contained in:
@@ -610,7 +610,8 @@ ol.source.Vector.prototype.getClosestFeatureToCoordinate = function(coordinate,
|
|||||||
*
|
*
|
||||||
* This method is not available when the source is configured with
|
* This method is not available when the source is configured with
|
||||||
* `useSpatialIndex` set to `false`.
|
* `useSpatialIndex` set to `false`.
|
||||||
* @param {ol.Extent=} opt_extent Destination extent.
|
* @param {ol.Extent=} opt_extent Destination extent. If provided, no new extent
|
||||||
|
* will be created. Instead, that extent's coordinates will be overwritten.
|
||||||
* @return {!ol.Extent} Extent.
|
* @return {!ol.Extent} Extent.
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user