From c1a5a44dfcdfb918598b236e14c3789d2f15209b Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Wed, 5 Apr 2017 09:21:01 +0200 Subject: [PATCH] Improve documentation of opt_extent --- src/ol/source/vector.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ol/source/vector.js b/src/ol/source/vector.js index 78a0d5a338..e1e88b30cf 100644 --- a/src/ol/source/vector.js +++ b/src/ol/source/vector.js @@ -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 */