@mapcatch/util 2.0.14 → 2.0.15-a
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/catchUtil.min.cjs.js +2 -2
- package/dist/catchUtil.min.esm.js +10 -3
- package/dist/catchUtil.min.js +2 -2
- package/package.json +27 -1
|
@@ -49158,7 +49158,7 @@ const layerGroups = [
|
|
|
49158
49158
|
3e3: "\u6587\u4EF6\u8BFB\u5199\u9519\u8BEF",
|
|
49159
49159
|
3001: "JSON\u5B57\u6BB5\u89E3\u6790\u9519\u8BEF",
|
|
49160
49160
|
3002: "\u7167\u7247\u8BFB\u53D6\u9519\u8BEF",
|
|
49161
|
-
4e3: "GPU\u8BBE\u5907\u9519\u8BEF\uFF0C\
|
|
49161
|
+
4e3: "GPU\u8BBE\u5907\u9519\u8BEF\uFF0C\u53EF\u5C1D\u8BD5\u5347\u7EA7GPU\u9A71\u52A8\u540E\u91CD\u8BD5",
|
|
49162
49162
|
64: "\u7F51\u7EDC\u9519\u8BEF",
|
|
49163
49163
|
74: "\u7F51\u7EDC\u8BF7\u6C42\u8D85\u65F6",
|
|
49164
49164
|
83886084: "\u627E\u4E0D\u5230\u670D\u52A1\u5668",
|
|
@@ -113218,8 +113218,12 @@ class TileCache {
|
|
|
113218
113218
|
l && l.lastVisited > this.tiles[u].lastVisited || (n = u, l = this.tiles[u]);
|
|
113219
113219
|
this.tiles.splice(n, 1);
|
|
113220
113220
|
}
|
|
113221
|
-
clear() {
|
|
113222
|
-
|
|
113221
|
+
clear(n) {
|
|
113222
|
+
if (!n) {
|
|
113223
|
+
this.tiles = [];
|
|
113224
|
+
return;
|
|
113225
|
+
}
|
|
113226
|
+
this.tiles = this.tiles.filter((l) => l.task_id !== n);
|
|
113223
113227
|
}
|
|
113224
113228
|
}
|
|
113225
113229
|
class Measurement {
|
|
@@ -113330,6 +113334,9 @@ class Measurement {
|
|
|
113330
113334
|
}
|
|
113331
113335
|
return n;
|
|
113332
113336
|
}
|
|
113337
|
+
clearCache(n) {
|
|
113338
|
+
this.tileCache.clear(n);
|
|
113339
|
+
}
|
|
113333
113340
|
}
|
|
113334
113341
|
var te = Object.defineProperty, ee = (e, n, l) => n in e ? te(e, n, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[n] = l, N = (e, n, l) => (ee(e, typeof n != "symbol" ? n + "" : n, l), l);
|
|
113335
113342
|
const mt = {
|