zywlgis 0.5.7 → 0.5.9
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/ZYWLGIS.es.js +3 -3
- package/dist/ZYWLGIS.umd.js +2 -2
- package/package.json +2 -2
- package/vite.config.js +56 -0
- package/index.html +0 -15
package/dist/ZYWLGIS.es.js
CHANGED
|
@@ -222715,7 +222715,7 @@ Q(re, "createMapEngineStateBar", (e, n, i, r, s, o) => {
|
|
|
222715
222715
|
);
|
|
222716
222716
|
q = 1 / q;
|
|
222717
222717
|
let j = q * W;
|
|
222718
|
-
y.style.display = "block", y.style.width = `${j}px`, b.style.display = "block", b.style.width =
|
|
222718
|
+
y.style.display = "block", y.style.width = `${j}px`, b.style.display = "block", b.style.width = `${j}px`, W >= 1e3 ? (W = W / 1e3, b.textContent = `${W}km`) : b.textContent = `${W}m`;
|
|
222719
222719
|
}
|
|
222720
222720
|
else
|
|
222721
222721
|
y.style.display = "none", b.style.display = "none";
|
|
@@ -222733,7 +222733,7 @@ Q(re, "createMapEngineStateBar", (e, n, i, r, s, o) => {
|
|
|
222733
222733
|
let S = 150, L = c.pixelToDistance(S, 0), _ = Math.pow(10, (Math.floor(L) + "").length - 1), T = L / _;
|
|
222734
222734
|
T = T >= 10 ? 10 : T >= 5 ? 5 : T >= 3 ? 3 : T >= 2 ? 2 : 1;
|
|
222735
222735
|
let k = _ * T, H = k / L;
|
|
222736
|
-
y.style.display = "block", y.style.width = Math.round(S * H) + "px", b.style.display = "block", b.style.width =
|
|
222736
|
+
y.style.display = "block", y.style.width = Math.round(S * H) + "px", b.style.display = "block", b.style.width = Math.round(S * H) + "px", k >= 1e3 ? (k = k / 1e3, b.textContent = `${k}km`) : b.textContent = `${k}m`;
|
|
222737
222737
|
}
|
|
222738
222738
|
}
|
|
222739
222739
|
} else
|
|
@@ -288204,5 +288204,5 @@ function iqt(t, e, n, i, r, s) {
|
|
|
288204
288204
|
const mqt = /* @__PURE__ */ tqt(nqt, [["render", iqt]]);
|
|
288205
288205
|
export {
|
|
288206
288206
|
z as GISTool,
|
|
288207
|
-
mqt as
|
|
288207
|
+
mqt as ZYWLGISMAP
|
|
288208
288208
|
};
|