zywlgis 0.5.34 → 0.5.35
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 +11 -11
- package/dist/ZYWLGIS.umd.js +3 -3
- package/package.json +1 -1
package/dist/ZYWLGIS.es.js
CHANGED
|
@@ -15573,7 +15573,7 @@ class QX {
|
|
|
15573
15573
|
this.isClampToGround_
|
|
15574
15574
|
));
|
|
15575
15575
|
let s = [];
|
|
15576
|
-
if (this.TakeOffBillboardCoordinate_
|
|
15576
|
+
if (this.TakeOffBillboardCoordinate_) {
|
|
15577
15577
|
let o = k.transformCartesian3(
|
|
15578
15578
|
this.TakeOffBillboardCoordinate_
|
|
15579
15579
|
);
|
|
@@ -15602,7 +15602,7 @@ class QX {
|
|
|
15602
15602
|
this.TakeOffBillboardCoordinate_
|
|
15603
15603
|
);
|
|
15604
15604
|
a.height = k.transformCartographic(
|
|
15605
|
-
|
|
15605
|
+
t[0]
|
|
15606
15606
|
).height, s = [
|
|
15607
15607
|
o,
|
|
15608
15608
|
k.transformCartesian3(a)
|
|
@@ -15655,7 +15655,7 @@ class QX {
|
|
|
15655
15655
|
asynchronous: !1
|
|
15656
15656
|
}), this.geometryInstance_ = e.scene.primitives.add(D));
|
|
15657
15657
|
}
|
|
15658
|
-
if (this.data_?.coordinates.length > 1) {
|
|
15658
|
+
if (this.data_?.coordinates.length > 1 || s.length > 1) {
|
|
15659
15659
|
const a = k.setWaypointType(
|
|
15660
15660
|
this.waypointType_,
|
|
15661
15661
|
cA.cloneDeep(this.data_?.coordinates)
|
|
@@ -139959,7 +139959,7 @@ class k {
|
|
|
139959
139959
|
let o;
|
|
139960
139960
|
window.isGPUSupport ? o = this.getPointLayer(A) : o = this.getVectorLayer(A);
|
|
139961
139961
|
let a = o.getGeometries();
|
|
139962
|
-
a.push(r), o.addGeometry(a);
|
|
139962
|
+
a.push(r), console.log("监测<<<<<", o, a), o.addGeometry(a), console.log("监测>>>>>", o, a);
|
|
139963
139963
|
}
|
|
139964
139964
|
return r;
|
|
139965
139965
|
};
|
|
@@ -139976,7 +139976,7 @@ class k {
|
|
|
139976
139976
|
}), o;
|
|
139977
139977
|
window.isGPUSupport ? o = k.getPointLayer(A) : o = k.getVectorLayer(A);
|
|
139978
139978
|
let a = o.getGeometries();
|
|
139979
|
-
return a.push(s), o.addGeometry(a), {
|
|
139979
|
+
return a.push(s), console.log("监测<<<<<", o, a), o.addGeometry(a), console.log("监测>>>>>", o, a), {
|
|
139980
139980
|
presentationMode: r?.presentationMode ?? 0,
|
|
139981
139981
|
infoWindow: new H$.InfoWindow({
|
|
139982
139982
|
content: r?.content ?? "",
|
|
@@ -164105,7 +164105,7 @@ class DWA {
|
|
|
164105
164105
|
if (this.center_ = e.position, !this.geometryInstance_) {
|
|
164106
164106
|
this.geometryInstance_ = e.PolygonGeometry;
|
|
164107
164107
|
let t = e.PolygonLayer.getGeometries();
|
|
164108
|
-
t.push(this.geometryInstance_), e.PolygonLayer.addGeometry(t), this.geometryInstance_.on("mouseover", this.mouseover), this.geometryInstance_.on("mouseout", this.mouseout), this.geometryInstance_.on("click", this.emitGraphClick);
|
|
164108
|
+
t.push(this.geometryInstance_), console.log("监测<<<<<", e.PolygonLayer, t), e.PolygonLayer.addGeometry(t), console.log("监测>>>>>", e.PolygonLayer, t), this.geometryInstance_.on("mouseover", this.mouseover), this.geometryInstance_.on("mouseout", this.mouseout), this.geometryInstance_.on("click", this.emitGraphClick);
|
|
164109
164109
|
}
|
|
164110
164110
|
this.geometryInstance_.updateSymbol(e.symbol), window.isGPUSupport ? this.geometryInstance_.setCoordinates(e.positions) : (this.geometryInstance_.setCoordinates(this.center_), this.geometryInstance_.setRadius(e.radius)), this.geometryInstance_.setZIndex(e.zIndex), this.visible_ ? this.geometryInstance_.show() : this.geometryInstance_.hide(), this.reDrawCenterLabel(), this.reDrawCenterHTML(), this.reDrawCustomLabel(), this.reDrawCustomHTML();
|
|
164111
164111
|
});
|
|
@@ -164353,7 +164353,7 @@ class PWA {
|
|
|
164353
164353
|
if (this.center_ = i.geometry.coordinates, !this.geometryInstance_) {
|
|
164354
164354
|
this.geometryInstance_ = e.LineStringGeometry;
|
|
164355
164355
|
let r = e.LineStringLayer.getGeometries();
|
|
164356
|
-
r.push(this.geometryInstance_), e.LineStringLayer.addGeometry(r), this.geometryInstance_.on("mouseover", this.mouseover), this.geometryInstance_.on("mouseout", this.mouseout), this.geometryInstance_.on("click", this.emitGraphClick);
|
|
164356
|
+
r.push(this.geometryInstance_), console.log("监测<<<<<", e.LineStringLayer, r), e.LineStringLayer.addGeometry(r), console.log("监测>>>>>", e.LineStringLayer, r), this.geometryInstance_.on("mouseover", this.mouseover), this.geometryInstance_.on("mouseout", this.mouseout), this.geometryInstance_.on("click", this.emitGraphClick);
|
|
164357
164357
|
}
|
|
164358
164358
|
this.geometryInstance_.setCoordinates(e.positions), this.geometryInstance_.updateSymbol(e.symbol), this.geometryInstance_.setZIndex(e.zIndex), this.visible_ ? this.geometryInstance_.show() : this.geometryInstance_.hide(), this.reDrawModel(), this.reDrawCenterLabel(), this.reDrawCenterHTML(), this.reDrawCustomLabel(), this.reDrawCustomHTML();
|
|
164359
164359
|
});
|
|
@@ -164655,7 +164655,7 @@ class cWA {
|
|
|
164655
164655
|
if (this.center_ = e.position, !this.geometryInstance_) {
|
|
164656
164656
|
this.geometryInstance_ = e.PointGeometry;
|
|
164657
164657
|
let t = e.PointLayer.getGeometries();
|
|
164658
|
-
t.push(this.geometryInstance_), e.PointLayer.addGeometry(t), this.geometryInstance_.on("mouseover", this.mouseover), this.geometryInstance_.on("mouseout", this.mouseout), this.geometryInstance_.on("click", this.emitGraphClick);
|
|
164658
|
+
t.push(this.geometryInstance_), console.log("监测<<<<<", e.PointLayer, t), e.PointLayer.addGeometry(t), console.log("监测>>>>>", e.PointLayer, t), this.geometryInstance_.on("mouseover", this.mouseover), this.geometryInstance_.on("mouseout", this.mouseout), this.geometryInstance_.on("click", this.emitGraphClick);
|
|
164659
164659
|
}
|
|
164660
164660
|
this.geometryInstance_.setCoordinates(this.center_), this.geometryInstance_.updateSymbol(e.symbol), this.geometryInstance_.setZIndex(e.zIndex), this.visible_ ? this.geometryInstance_.show() : this.geometryInstance_.hide(), this.reDrawCenterLabel(), this.reDrawCenterHTML(), this.reDrawCustomLabel(), this.reDrawCustomHTML();
|
|
164661
164661
|
});
|
|
@@ -164897,7 +164897,7 @@ class hWA {
|
|
|
164897
164897
|
if (this.center_ = e.position, !this.geometryInstance_) {
|
|
164898
164898
|
this.geometryInstance_ = e.PointGeometry;
|
|
164899
164899
|
let t = e.PointLayer.getGeometries();
|
|
164900
|
-
t.push(this.geometryInstance_), e.PointLayer.addGeometry(t), this.geometryInstance_.on("mouseover", this.mouseover), this.geometryInstance_.on("mouseout", this.mouseout), this.geometryInstance_.on("click", this.emitGraphClick);
|
|
164900
|
+
t.push(this.geometryInstance_), console.log("监测<<<<<", e.PointLayer, t), e.PointLayer.addGeometry(t), console.log("监测>>>>>", e.PointLayer, t), this.geometryInstance_.on("mouseover", this.mouseover), this.geometryInstance_.on("mouseout", this.mouseout), this.geometryInstance_.on("click", this.emitGraphClick);
|
|
164901
164901
|
}
|
|
164902
164902
|
this.geometryInstance_.setCoordinates(this.center_), this.geometryInstance_.updateSymbol(e.symbol), this.geometryInstance_.setZIndex(e.zIndex), this.visible_ ? this.geometryInstance_.show() : this.geometryInstance_.hide(), this.reDrawCenterLabel(), this.reDrawCenterHTML(), this.reDrawCustomLabel(), this.reDrawCustomHTML();
|
|
164903
164903
|
});
|
|
@@ -165145,7 +165145,7 @@ class gWA {
|
|
|
165145
165145
|
if (this.center_ = i.geometry.coordinates, !this.geometryInstance_) {
|
|
165146
165146
|
this.geometryInstance_ = e.PolygonGeometry;
|
|
165147
165147
|
let r = e.PolygonLayer.getGeometries();
|
|
165148
|
-
r.push(this.geometryInstance_), e.PolygonLayer.addGeometry(r), this.geometryInstance_.on("mouseover", this.mouseover), this.geometryInstance_.on("mouseout", this.mouseout), this.geometryInstance_.on("click", this.emitGraphClick);
|
|
165148
|
+
r.push(this.geometryInstance_), console.log("监测<<<<<", e.PolygonLayer, r), e.PolygonLayer.addGeometry(r), console.log("监测>>>>>", e.PolygonLayer, r), this.geometryInstance_.on("mouseover", this.mouseover), this.geometryInstance_.on("mouseout", this.mouseout), this.geometryInstance_.on("click", this.emitGraphClick);
|
|
165149
165149
|
}
|
|
165150
165150
|
this.geometryInstance_.setCoordinates(e.positions), this.geometryInstance_.updateSymbol(e.symbol), this.geometryInstance_.setZIndex(e.zIndex), this.visible_ ? this.geometryInstance_.show() : this.geometryInstance_.hide(), this.reDrawCenterLabel(), this.reDrawCenterHTML(), this.reDrawCustomLabel(), this.reDrawCustomHTML();
|
|
165151
165151
|
});
|
|
@@ -165389,7 +165389,7 @@ class NoA {
|
|
|
165389
165389
|
if (this.center_ = i.geometry.coordinates, !this.geometryInstance_) {
|
|
165390
165390
|
this.geometryInstance_ = e.LineStringGeometry;
|
|
165391
165391
|
let r = e.LineStringLayer.getGeometries();
|
|
165392
|
-
r.push(this.geometryInstance_), e.LineStringLayer.addGeometry(r), this.geometryInstance_.on("mouseover", this.mouseover), this.geometryInstance_.on("mouseout", this.mouseout), this.dataClass_ !== "AirRoutes" && this.geometryInstance_.on("click", this.emitGraphClick);
|
|
165392
|
+
r.push(this.geometryInstance_), console.log("监测<<<<<", e.LineStringLayer, r), e.LineStringLayer.addGeometry(r), console.log("监测>>>>>", e.LineStringLayer, r), this.geometryInstance_.on("mouseover", this.mouseover), this.geometryInstance_.on("mouseout", this.mouseout), this.dataClass_ !== "AirRoutes" && this.geometryInstance_.on("click", this.emitGraphClick);
|
|
165393
165393
|
}
|
|
165394
165394
|
this.geometryInstance_.setCoordinates(e.positions), this.geometryInstance_.updateSymbol(e.symbol), this.geometryInstance_.setZIndex(e.zIndex), this.visible_ ? this.geometryInstance_.show() : this.geometryInstance_.hide(), this.reDrawCenterLabel(), this.reDrawCenterHTML(), this.reDrawCustomLabel(), this.reDrawCustomHTML();
|
|
165395
165395
|
});
|