Improve documentation of opt_extent

This commit is contained in:
Andreas Hocevar
2017-04-05 09:21:01 +02:00
committed by GitHub
parent 22ed575325
commit c1a5a44dfc

View File

@@ -610,7 +610,8 @@ ol.source.Vector.prototype.getClosestFeatureToCoordinate = function(coordinate,
*
* This method is not available when the source is configured with
* `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.
* @api
*/