Skip to content

Commit 0d7b80a

Browse files
committed
Website updates
1 parent c75e822 commit 0d7b80a

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

dist/en/main/apidoc/module-ol_source_Cluster-Cluster.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2052,7 +2052,7 @@ <h5>Returns:</h5>
20522052
<div class="anchor" id="getClosestFeatureToCoordinate">
20532053
</div>
20542054
<h4 class="name">
2055-
getClosestFeatureToCoordinate<span class="signature">(coordinate, <span class="optional">filter</span>)</span><span class="fa fa-arrow-circle-right"></span><span class="type-signature returnType">{FeatureType}</span>
2055+
getClosestFeatureToCoordinate<span class="signature">(coordinate, <span class="optional">filter</span>)</span><span class="fa fa-arrow-circle-right"></span><span class="type-signature returnType">{FeatureType | null}</span>
20562056

20572057
<span class="inherited"><a href="module-ol_source_Vector-VectorSource.html#getClosestFeatureToCoordinate">inherited</a></span>
20582058

@@ -2202,7 +2202,7 @@ <h4 class="name">
22022202

22032203

22042204
<h5>Returns:</h5>
2205-
Closest feature.
2205+
Closest feature (or <code>null</code> if none found).
22062206
<br />
22072207

22082208

dist/en/main/apidoc/module-ol_source_Vector-VectorSource.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2142,7 +2142,7 @@ <h5>Returns:</h5>
21422142
<div class="anchor" id="getClosestFeatureToCoordinate">
21432143
</div>
21442144
<h4 class="name">
2145-
getClosestFeatureToCoordinate<span class="signature">(coordinate, <span class="optional">filter</span>)</span><span class="fa fa-arrow-circle-right"></span><span class="type-signature returnType">{FeatureType}</span>
2145+
getClosestFeatureToCoordinate<span class="signature">(coordinate, <span class="optional">filter</span>)</span><span class="fa fa-arrow-circle-right"></span><span class="type-signature returnType">{FeatureType | null}</span>
21462146

21472147

21482148

@@ -2290,7 +2290,7 @@ <h4 class="name">
22902290

22912291

22922292
<h5>Returns:</h5>
2293-
Closest feature.
2293+
Closest feature (or <code>null</code> if none found).
22942294
<br />
22952295

22962296

dist/en/main/examples/common.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/dist/ol.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/source/Vector.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,10 +527,10 @@ declare class VectorSource<FeatureType extends import("../Feature.js").FeatureLi
527527
* @param {function(FeatureType):boolean} [filter] Feature filter function.
528528
* The filter function will receive one argument, the {@link module:ol/Feature~Feature feature}
529529
* and it should return a boolean value. By default, no filtering is made.
530-
* @return {FeatureType} Closest feature.
530+
* @return {FeatureType|null} Closest feature (or `null` if none found).
531531
* @api
532532
*/
533-
getClosestFeatureToCoordinate(coordinate: import("../coordinate.js").Coordinate, filter?: (arg0: FeatureType) => boolean): FeatureType;
533+
getClosestFeatureToCoordinate(coordinate: import("../coordinate.js").Coordinate, filter?: (arg0: FeatureType) => boolean): FeatureType | null;
534534
/**
535535
* Get the extent of the features currently in the source.
536536
*

dist/en/main/ol/source/Vector.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/source/Vector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ class VectorSource extends Source {
789789
* @param {function(FeatureType):boolean} [filter] Feature filter function.
790790
* The filter function will receive one argument, the {@link module:ol/Feature~Feature feature}
791791
* and it should return a boolean value. By default, no filtering is made.
792-
* @return {FeatureType} Closest feature.
792+
* @return {FeatureType|null} Closest feature (or `null` if none found).
793793
* @api
794794
*/
795795
getClosestFeatureToCoordinate(coordinate, filter) {

0 commit comments

Comments
 (0)