Skip to content

Commit bcd4f0f

Browse files
committed
Website updates
1 parent 1538087 commit bcd4f0f

File tree

12 files changed

+37
-33
lines changed

12 files changed

+37
-33
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4391,7 +4391,7 @@ <h4 class="name">
43914391

43924392
<div class="tag-source">
43934393
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js">source/Vector.js</a>,
4394-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1096">line 1096</a>
4394+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1094">line 1094</a>
43954395
</div>
43964396

43974397
</div>
@@ -4521,7 +4521,7 @@ <h4 class="name">
45214521

45224522
<div class="tag-source">
45234523
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js">source/Vector.js</a>,
4524-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1079">line 1079</a>
4524+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1077">line 1077</a>
45254525
</div>
45264526

45274527
</div>
@@ -5216,7 +5216,7 @@ <h4 class="name">
52165216

52175217
<div class="tag-source">
52185218
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js">source/Vector.js</a>,
5219-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1173">line 1173</a>
5219+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1171">line 1171</a>
52205220
</div>
52215221

52225222
</div>
@@ -5755,7 +5755,7 @@ <h4 class="name">
57555755

57565756
<div class="tag-source">
57575757
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js">source/Vector.js</a>,
5758-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1182">line 1182</a>
5758+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1180">line 1180</a>
57595759
</div>
57605760

57615761
</div>

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4189,7 +4189,7 @@ <h4 class="name">
41894189

41904190
<div class="tag-source">
41914191
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js">source/Vector.js</a>,
4192-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1096">line 1096</a>
4192+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1094">line 1094</a>
41934193
</div>
41944194

41954195
</div>
@@ -4317,7 +4317,7 @@ <h4 class="name">
43174317

43184318
<div class="tag-source">
43194319
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js">source/Vector.js</a>,
4320-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1079">line 1079</a>
4320+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1077">line 1077</a>
43214321
</div>
43224322

43234323
</div>
@@ -4882,7 +4882,7 @@ <h4 class="name">
48824882

48834883
<div class="tag-source">
48844884
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js">source/Vector.js</a>,
4885-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1173">line 1173</a>
4885+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1171">line 1171</a>
48864886
</div>
48874887

48884888
</div>
@@ -5163,7 +5163,7 @@ <h4 class="name">
51635163

51645164
<div class="tag-source">
51655165
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js">source/Vector.js</a>,
5166-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1182">line 1182</a>
5166+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1180">line 1180</a>
51675167
</div>
51685168

51695169
</div>

dist/en/main/examples/common.js

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/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

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.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: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,11 +1057,9 @@ class VectorSource extends Source {
10571057
*/
10581058
removeLoadedExtent(extent) {
10591059
const loadedExtentsRtree = this.loadedExtentsRtree_;
1060-
let obj;
1061-
loadedExtentsRtree.forEachInExtent(extent, function (object) {
1060+
const obj = loadedExtentsRtree.forEachInExtent(extent, function (object) {
10621061
if (equals(object.extent, extent)) {
1063-
obj = object;
1064-
return true;
1062+
return object;
10651063
}
10661064
});
10671065
if (obj) {

dist/en/main/ol/structs/RBush.d.ts

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,25 @@ declare class RBush<T extends unknown> {
6969
* Calls a callback function with each value in the tree.
7070
* If the callback returns a truthy value, this value is returned without
7171
* checking the rest of the tree.
72-
* @param {function(T): *} callback Callback.
73-
* @return {*} Callback return value.
72+
* @param {function(T): R} callback Callback.
73+
* @return {R|undefined} Callback return value.
74+
* @template R
7475
*/
75-
forEach(callback: (arg0: T) => any): any;
76+
forEach<R>(callback: (arg0: T) => R): R | undefined;
7677
/**
7778
* Calls a callback function with each value in the provided extent.
7879
* @param {import("../extent.js").Extent} extent Extent.
79-
* @param {function(T): *} callback Callback.
80-
* @return {*} Callback return value.
80+
* @param {function(T): R} callback Callback.
81+
* @return {R|undefined} Callback return value.
82+
* @template R
8183
*/
82-
forEachInExtent(extent: import("../extent.js").Extent, callback: (arg0: T) => any): any;
84+
forEachInExtent<R>(extent: import("../extent.js").Extent, callback: (arg0: T) => R): R | undefined;
8385
/**
8486
* @param {Array<T>} values Values.
85-
* @param {function(T): *} callback Callback.
87+
* @param {function(T): R} callback Callback.
88+
* @return {R|undefined} Callback return value.
89+
* @template R
8690
* @private
87-
* @return {*} Callback return value.
8891
*/
8992
private forEach_;
9093
/**

dist/en/main/ol/structs/RBush.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.

0 commit comments

Comments
 (0)