ol 10.3.2-dev.1735576083784 → 10.3.2-dev.1735606081362
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ol.js +1 -1
- package/dist/ol.js.map +1 -1
- package/package.json +1 -1
- package/source/VectorTile.d.ts.map +1 -1
- package/source/VectorTile.js +3 -2
- package/util.js +1 -1
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VectorTile.d.ts","sourceRoot":"","sources":["VectorTile.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VectorTile.d.ts","sourceRoot":"","sources":["VectorTile.js"],"names":[],"mappings":"AA+aA;;;;;GAKG;AACH,oCAJoD,WAAW,SAAlD,OAAQ,eAAe,EAAE,WAAY,iDACvC,OAAO,kBAAkB,EAAE,OAAO,CAAC,WAAW,CAAC,OAC/C,MAAM,QAqBhB;;oBAlbmD,WAAW,SAAlD,OAAQ,eAAe,EAAE,WAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAWpC,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAZjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AAEH;;;;;;;;;;;;;GAaG;AACH,yBAFoD,WAAW,SAAlD,OAAQ,eAAe,EAAE,WAAY;IAGhD;;OAEG;IACH,qBAFY,OAAO,CAAC,WAAW,CAAC,EAsE/B;IAlCC;;;OAGG;IACH,gBAAqD;IAErD;;;OAGG;IACH,iCAAkC;IAElC;;OAEG;IACH;;MAAsB;IAEtB;;;OAGG;IACH,kBAAwE;IAExE;;;OAGG;IACH,iCAA6D;IAE7D;;;OAGG;IACH,mBAAoB;IAGtB;;OAEG;IACH,eAFY,OAAO,CAIlB;IAED;;;;;OAKG;IACH,2BALW,MAAM,cACN,OAAO,oBAAoB,EAAE,OAAO,QACpC,gBAAgB,GACf,KAAK,CAAC,SAA+B,CAAC,CAgGjD;IAED;;OAEG;IACH,wBAFW,gBAAgB,QAqB1B;IAED;;;;;;;;OAQG;IACH,oBARW,MAAM,KACN,MAAM,KACN,MAAM,cACN,MAAM,cACN,OAAO,uBAAuB,EAAE,OAAO,GACrC,gBAAgB,CA0C5B;IAgED;;OAEG;IACH,sBAFW,OAAO,QAKjB;CACF;iBAragB,kBAAkB;qBAUd,yBAAyB;oBAG1B,cAAc;6BAdL,wBAAwB"}
|
package/source/VectorTile.js
CHANGED
|
@@ -286,14 +286,15 @@ class VectorTile extends UrlTile {
|
|
|
286
286
|
* @param {VectorRenderTile} tile Vector render tile.
|
|
287
287
|
*/
|
|
288
288
|
removeSourceTiles(tile) {
|
|
289
|
+
const tileKey = tile.getKey();
|
|
289
290
|
const sourceTiles = tile.sourceTiles;
|
|
290
291
|
for (let i = 0, ii = sourceTiles.length; i < ii; ++i) {
|
|
291
292
|
const sourceTileUrl = sourceTiles[i].getTileUrl();
|
|
292
|
-
const tileKey = this.getKey();
|
|
293
293
|
if (!this.tileKeysBySourceTileUrl_[sourceTileUrl]) {
|
|
294
294
|
return;
|
|
295
295
|
}
|
|
296
|
-
const index =
|
|
296
|
+
const index =
|
|
297
|
+
this.tileKeysBySourceTileUrl_[sourceTileUrl].indexOf(tileKey);
|
|
297
298
|
if (index === -1) {
|
|
298
299
|
continue;
|
|
299
300
|
}
|
package/util.js
CHANGED