Skip to content

Commit d04f007

Browse files
committed
Website updates
1 parent cbe748f commit d04f007

9 files changed

Lines changed: 21 additions & 17 deletions

File tree

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

Lines changed: 5 additions & 5 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#L1111">line 1111</a>
4394+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1115">line 1115</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#L1094">line 1094</a>
4524+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1098">line 1098</a>
45254525
</div>
45264526

45274527
</div>
@@ -4651,7 +4651,7 @@ <h4 class="name">
46514651

46524652
<div class="tag-source">
46534653
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js">source/Vector.js</a>,
4654-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1072">line 1072</a>
4654+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1076">line 1076</a>
46554655
</div>
46564656

46574657
</div>
@@ -5219,7 +5219,7 @@ <h4 class="name">
52195219

52205220
<div class="tag-source">
52215221
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js">source/Vector.js</a>,
5222-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1188">line 1188</a>
5222+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1192">line 1192</a>
52235223
</div>
52245224

52255225
</div>
@@ -5758,7 +5758,7 @@ <h4 class="name">
57585758

57595759
<div class="tag-source">
57605760
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js">source/Vector.js</a>,
5761-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1197">line 1197</a>
5761+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1201">line 1201</a>
57625762
</div>
57635763

57645764
</div>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4265,7 +4265,7 @@ <h4 class="name">
42654265

42664266
<div class="tag-source">
42674267
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js">source/Vector.js</a>,
4268-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1111">line 1111</a>
4268+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1115">line 1115</a>
42694269
</div>
42704270

42714271
</div>
@@ -4393,7 +4393,7 @@ <h4 class="name">
43934393

43944394
<div class="tag-source">
43954395
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js">source/Vector.js</a>,
4396-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1094">line 1094</a>
4396+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1098">line 1098</a>
43974397
</div>
43984398

43994399
</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#L1072">line 1072</a>
4524+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1076">line 1076</a>
45254525
</div>
45264526

45274527
</div>
@@ -4961,7 +4961,7 @@ <h4 class="name">
49614961

49624962
<div class="tag-source">
49634963
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js">source/Vector.js</a>,
4964-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1188">line 1188</a>
4964+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1192">line 1192</a>
49654965
</div>
49664966

49674967
</div>
@@ -5242,7 +5242,7 @@ <h4 class="name">
52425242

52435243
<div class="tag-source">
52445244
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js">source/Vector.js</a>,
5245-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1197">line 1197</a>
5245+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/Vector.js#L1201">line 1201</a>
52465246
</div>
52475247

52485248
</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: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,11 @@ class VectorSource extends Source {
956956
hasFeature(feature) {
957957
const id = feature.getId();
958958
if (id !== undefined) {
959-
return id in this.idIndex_;
959+
const indexed = this.idIndex_[String(id)];
960+
if (Array.isArray(indexed)) {
961+
return indexed.includes(feature);
962+
}
963+
return indexed === feature;
960964
}
961965
return getUid(feature) in this.uidIndex_;
962966
}

dist/main.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.

0 commit comments

Comments
 (0)