@edugis-org/webmapx 0.1.14 → 0.1.15
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-lib/{webmapx-coordinates-tool-BJd6idRr.js → webmapx-coordinates-tool-CSwh6fBU.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { t } from "./webmapx-base-tool-Bc9Wz0yA.js";
|
|
|
3
3
|
import { css as n, html as r, nothing as i } from "lit";
|
|
4
4
|
import { customElement as a, query as o, state as s } from "lit/decorators.js";
|
|
5
5
|
//#region src/utils/epsg-lookup-manager.ts
|
|
6
|
-
var c = "https://cdn.jsdelivr.net/npm/@edugis-org/webmapx@0.1.
|
|
6
|
+
var c = "https://cdn.jsdelivr.net/npm/@edugis-org/webmapx@0.1.15/public", l = 6e4, u = new class {
|
|
7
7
|
constructor() {
|
|
8
8
|
this.worker = null, this.isReady = !1, this.isInitializing = !1, this.initPromise = null, this.pendingRequests = /* @__PURE__ */ new Map(), this.requestCounter = 0, this.idleTimeout = null, this.idleTimeoutMs = l;
|
|
9
9
|
}
|
package/dist-lib/webmapx.js
CHANGED
|
@@ -27,7 +27,7 @@ var a = {
|
|
|
27
27
|
"3d": () => import("./webmapx-3d-tool-CKoLGMpk.js"),
|
|
28
28
|
truearea: () => import("./webmapx-truearea-tool-dxSgcbOj.js"),
|
|
29
29
|
"view-mode": () => import("./webmapx-view-mode-tool-DVSMakdh.js"),
|
|
30
|
-
coordinates: () => import("./webmapx-coordinates-tool-
|
|
30
|
+
coordinates: () => import("./webmapx-coordinates-tool-CSwh6fBU.js"),
|
|
31
31
|
settings: () => import("./webmapx-settings-B0AT9Vjn.js"),
|
|
32
32
|
"config-edit": () => import("./webmapx-config-edit-tool-7265_DNz.js")
|
|
33
33
|
};
|
|
@@ -1299,7 +1299,7 @@ function _e(e, t) {
|
|
|
1299
1299
|
}
|
|
1300
1300
|
//#endregion
|
|
1301
1301
|
//#region src/bootstrap/locale-loader.ts
|
|
1302
|
-
var ve = "https://cdn.jsdelivr.net/npm/@edugis-org/webmapx@0.1.
|
|
1302
|
+
var ve = "https://cdn.jsdelivr.net/npm/@edugis-org/webmapx@0.1.15/src/locales";
|
|
1303
1303
|
async function ye(e) {
|
|
1304
1304
|
if (W.hasResourceBundle(e, "webmapx")) {
|
|
1305
1305
|
await W.changeLanguage(e);
|
|
@@ -2561,7 +2561,7 @@ var Xe = class {
|
|
|
2561
2561
|
]), r.locale && r.locale !== "en" && await ye(r.locale);
|
|
2562
2562
|
let l = document.querySelector(t);
|
|
2563
2563
|
if (!l) throw Error(`[webmapx] Mount target not found: "${t}"`);
|
|
2564
|
-
let u = t.replace(/^#/, "").replace(/[^a-zA-Z0-9_-]/g, "-") || "
|
|
2564
|
+
let u = `${t.replace(/^#/, "").replace(/[^a-zA-Z0-9_-]/g, "-") || "map"}-webmapx`;
|
|
2565
2565
|
l.innerHTML = `<webmapx-map id="${u}" adapter="${a}"></webmapx-map>`;
|
|
2566
2566
|
let d = l.querySelector("webmapx-map"), f = r.map, { engine: p, tools: m, locale: h, plugins: g, ..._ } = r, v = s.length > 0 ? Ye(s) : typeof m == "object" && !Array.isArray(m) ? m : void 0, y = Ke({
|
|
2567
2567
|
..._,
|
package/package.json
CHANGED