Skip to content

Commit 38602c3

Browse files
committed
Website updates
1 parent f045ed3 commit 38602c3

File tree

9 files changed

+11
-10
lines changed

9 files changed

+11
-10
lines changed

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/examples/offscreen-canvas.worker.worker.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/offscreen-canvas.worker.worker.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/VectorTile.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/VectorTile.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,14 +286,15 @@ class VectorTile extends UrlTile {
286286
* @param {VectorRenderTile} tile Vector render tile.
287287
*/
288288
removeSourceTiles(tile) {
289+
const tileKey = tile.getKey();
289290
const sourceTiles = tile.sourceTiles;
290291
for (let i = 0, ii = sourceTiles.length; i < ii; ++i) {
291292
const sourceTileUrl = sourceTiles[i].getTileUrl();
292-
const tileKey = this.getKey();
293293
if (!this.tileKeysBySourceTileUrl_[sourceTileUrl]) {
294294
return;
295295
}
296-
const index = this.tileKeysBySourceTileUrl_[sourceTileUrl][tileKey];
296+
const index =
297+
this.tileKeysBySourceTileUrl_[sourceTileUrl].indexOf(tileKey);
297298
if (index === -1) {
298299
continue;
299300
}

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)