@edugis-org/webmapx 0.1.10 → 0.1.11
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-nwlckVn6.js → webmapx-coordinates-tool-C964bdEG.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.11/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-C964bdEG.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 ve(e, t) {
|
|
|
1299
1299
|
}
|
|
1300
1300
|
//#endregion
|
|
1301
1301
|
//#region src/bootstrap/locale-loader.ts
|
|
1302
|
-
var ye = "https://cdn.jsdelivr.net/npm/@edugis-org/webmapx@0.1.
|
|
1302
|
+
var ye = "https://cdn.jsdelivr.net/npm/@edugis-org/webmapx@0.1.11/src/locales";
|
|
1303
1303
|
async function G(e) {
|
|
1304
1304
|
if (U.hasResourceBundle(e, "webmapx")) {
|
|
1305
1305
|
await U.changeLanguage(e);
|
|
@@ -2562,7 +2562,7 @@ var Xe = class {
|
|
|
2562
2562
|
let l = document.querySelector(t);
|
|
2563
2563
|
if (!l) throw Error(`[webmapx] Mount target not found: "${t}"`);
|
|
2564
2564
|
let u = t.replace(/^#/, "").replace(/[^a-zA-Z0-9_-]/g, "-") || "webmapx-map";
|
|
2565
|
-
l.innerHTML = `<webmapx-map id="${u}" adapter="${a}"><webmapx-layout></webmapx-layout></webmapx-map>`;
|
|
2565
|
+
l.innerHTML = `<webmapx-map id="${u}" adapter="${a}"><div slot="map-view" style="position:absolute;inset:0;"></div><webmapx-layout></webmapx-layout></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
|
..._,
|
|
2568
2568
|
map: {
|
package/package.json
CHANGED