zywlgis 0.5.32 → 0.5.33
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 +1 -1
package/dist/ZYWLGIS.es.js
CHANGED
|
@@ -133923,7 +133923,7 @@ class k {
|
|
|
133923
133923
|
u.textContent = `HAE:${Number((Number(IA) + Number(MA)).toFixed(1))}m`;
|
|
133924
133924
|
}
|
|
133925
133925
|
} else !P && (l || D) && (Q.style.display = "none", u && (u.style.display = "none"));
|
|
133926
|
-
AA ? (g.style.width = `${70 * o}px`, g.style.right = "10px") : (g.style.width = "0px", g.style.right = "0px"), iA && u.style.display !== "none" ? (u.style.width = `${100 * o}px`, u.style.display = "", u.style.right = `${parseInt(g.style.right) + g.offsetWidth + 10}px`) : (u.style.width = "0px", u.style.display = "none", u.style.right = "0px"), $ && Q.style.display !== "none" ? (Q.style.width = `${100 * o}px`, Q.style.display = "", Q.style.right = `${parseInt(u.style.right) + u.offsetWidth}px`) : (Q.style.width = "0px", Q.style.display = "none", Q.style.right = "0px"), w || (w = document.createElement("div"), w.id = `${A}-MapEngineMouseLatitudeDiv`, w.style.position = "absolute", h.appendChild(w), w.style.color = "#fff", w.style.width = `${
|
|
133926
|
+
AA ? (g.style.width = `${70 * o}px`, g.style.right = "10px") : (g.style.width = "0px", g.style.right = "0px"), iA && u.style.display !== "none" ? (u.style.width = `${100 * o}px`, u.style.display = "", u.style.right = `${parseInt(g.style.right) + g.offsetWidth + 10}px`) : (u.style.width = "0px", u.style.display = "none", u.style.right = "0px"), $ && Q.style.display !== "none" ? (Q.style.width = `${100 * o}px`, Q.style.display = "", Q.style.right = `${parseInt(u.style.right) + u.offsetWidth}px`) : (Q.style.width = "0px", Q.style.display = "none", Q.style.right = "0px"), w || (w = document.createElement("div"), w.id = `${A}-MapEngineMouseLatitudeDiv`, w.style.position = "absolute", h.appendChild(w), w.style.color = "#fff", w.style.width = `${135 * o}px`, w.style.height = `${R}px`, w.style.fontSize = `${Y}px`, w.style.zIndex = 5, w.style.alignContent = "center", w.textContent = "纬度"), Q.style.display === "none" ? w.style.right = `${parseInt(g.style.right) + g.offsetWidth}px` : w.style.right = `${parseInt(Q.style.right) + Q.offsetWidth}px`, i && !r && (w.style.display = "block", w.textContent = `纬度 ${i}`), C || (C = document.createElement("div"), C.id = `${A}-MapEngineMouseLongitudeDiv`, C.style.position = "absolute", h.appendChild(C), C.style.color = "#fff", C.style.width = `${145 * o}px`, C.style.height = `${R}px`, C.style.fontSize = `${Y}px`, C.style.zIndex = 5, C.style.alignContent = "center", C.textContent = "经度"), C.style.right = `${parseInt(w.style.right) + w.offsetWidth}px`, t && !r && (C.style.display = "block", C.textContent = `经度 ${t}`), E || (E = document.createElement("div"), E.id = `${A}-MapEngineMapZoomDiv`, E.style.position = "absolute", h.appendChild(E), E.style.color = "#fff", E.style.height = `${R}px`, E.style.fontSize = `${Y}px`, E.style.zIndex = 5, E.style.textAlign = "center", E.style.alignContent = "center"), E.style.right = `${parseInt(C.style.right) + C.offsetWidth}px`, TA ? (E.style.width = `${80 * o}px`, E.style.display = "") : (E.style.width = "0px", E.style.display = "none"), p || (p = document.createElement("div"), p.id = `${A}-MapEngineScaleDiv`, p.style.position = "absolute", h.appendChild(p), p.style.height = `${R}px`, p.style.right = "0px", p.style.zIndex = 5), p.style.right = `${parseInt(E.style.right) + E.offsetWidth}px`;
|
|
133927
133927
|
const pA = document.getElementById(
|
|
133928
133928
|
`${A}-MapTileLoadProgressTextDiv`
|
|
133929
133929
|
);
|
|
@@ -194264,7 +194264,7 @@ const zte = (n, A) => {
|
|
|
194264
194264
|
blurActiveElementOnCanvasFocus: !1,
|
|
194265
194265
|
baseLayerPicker: !1,
|
|
194266
194266
|
mapProjection: new Cesium.WebMercatorProjection()
|
|
194267
|
-
}), k.setMapEngineInstance(this.cesiumID, o), window.sceneIntegrator || (window.sceneIntegrator = MoA(o))), k.getPointPrimitiveCollection(this.cesiumID), k.getLabelCollection(this.cesiumID), k.getBillboardCollection(this.cesiumID), r === -90
|
|
194267
|
+
}), k.setMapEngineInstance(this.cesiumID, o), window.sceneIntegrator || (window.sceneIntegrator = MoA(o))), k.getPointPrimitiveCollection(this.cesiumID), k.getLabelCollection(this.cesiumID), k.getBillboardCollection(this.cesiumID), r === -90 ? o.scene.camera.switchToOrthographicFrustum() : o.scene.camera.switchToPerspectiveFrustum(), o.scene.backgroundColor = Cesium.Color.fromCssColorString("#232323"), o.scene.globe.baseColor = Cesium.Color.fromCssColorString("#2A3034"), o.cesiumWidget.creditContainer.style.display = "none", o.scene.screenSpaceCameraController.enableCollisionDetection = !0, o.scene.globe.tileLoadProgressEvent.addEventListener((a) => {
|
|
194268
194268
|
this.createTileLoadProgressIcon(), this.tileLoadProgress < a ? (this.tileLoadProgress = cA.cloneDeep(a), this.drawCircle(a)) : (this.tileLoadProgress = 100 - a, this.drawCircle(this.tileLoadProgress));
|
|
194269
194269
|
}), this.setCesiumState(
|
|
194270
194270
|
e,
|
|
@@ -194930,7 +194930,7 @@ const zte = (n, A) => {
|
|
|
194930
194930
|
), this.MapEngine_Temp.camera = {
|
|
194931
194931
|
heading: parseInt(Cesium.Math.toDegrees(e.heading)),
|
|
194932
194932
|
pitch: parseInt(Cesium.Math.toDegrees(e.pitch))
|
|
194933
|
-
}, this.syncZoom(k.getZoom(this.containerID)), this.setMapEngineStateBar(), this.refreshZoom();
|
|
194933
|
+
}, window.isOpenSyncZoomLensCamera || (this.syncZoom(k.getZoom(this.containerID)), this.setMapEngineStateBar(), this.refreshZoom());
|
|
194934
194934
|
},
|
|
194935
194935
|
cesiumScenePostRender(n) {
|
|
194936
194936
|
this.stats && this.stats.update();
|