@idmwx/idmui-gl3 4.5.9 → 4.6.0
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/index.js +6 -2
- package/dist/index.umd.cjs +4 -4
- package/dist/mapbox/src/index.vue.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7123,7 +7123,7 @@ const Cr = {
|
|
|
7123
7123
|
type: Number
|
|
7124
7124
|
}
|
|
7125
7125
|
},
|
|
7126
|
-
emits: ["toggleVersion", "activeWeatherLayers"],
|
|
7126
|
+
emits: ["toggleVersion", "activeWeatherLayers", "showMeteoPoint"],
|
|
7127
7127
|
data() {
|
|
7128
7128
|
return {
|
|
7129
7129
|
weatherLayers: {},
|
|
@@ -7182,6 +7182,11 @@ const Cr = {
|
|
|
7182
7182
|
this.activeWeatherLayers.length > 0 ? ((e = (a = this.map) == null ? void 0 : a.getLayer(this.enc)) == null || e.setLayoutProperty("visibility", "none"), (r = (t = this.map) == null ? void 0 : t.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || r.setLayoutProperty("visibility", "visible"), (o = this.map) != null && o.getLayer((i = this.viewport) == null ? void 0 : i.rampColorLayer) && ((n = this.map) != null && n.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((h = this.map) == null || h.moveLayer((l = this.viewport) == null ? void 0 : l.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (c = this.map) != null && c.getLayer((p = this.viewport) == null ? void 0 : p.particleLayer) && ((d = this.map) != null && d.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((m = this.map) == null || m.moveLayer((y = this.viewport) == null ? void 0 : y.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id))) : ((f = (w = this.map) == null ? void 0 : w.getLayer(this.enc)) == null || f.setLayoutProperty("visibility", "visible"), (L = (u = this.map) == null ? void 0 : u.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || L.setLayoutProperty("visibility", "none")), this.$emit("activeWeatherLayers", this.activeWeatherLayers);
|
|
7183
7183
|
},
|
|
7184
7184
|
immediate: !0
|
|
7185
|
+
},
|
|
7186
|
+
showPoint: {
|
|
7187
|
+
handler() {
|
|
7188
|
+
this.$emit("showMeteoPoint", this.showPoint);
|
|
7189
|
+
}
|
|
7185
7190
|
}
|
|
7186
7191
|
/** for offline map**/
|
|
7187
7192
|
// activeWeatherLayers: {
|
|
@@ -7665,7 +7670,6 @@ const Cr = {
|
|
|
7665
7670
|
}
|
|
7666
7671
|
},
|
|
7667
7672
|
async handlePointChange(a) {
|
|
7668
|
-
console.log(this.ts);
|
|
7669
7673
|
const e = this.ts ? j(this.ts).utc().add(-1, "d").format() : j().add(-1, "d").utc().format(), t = {
|
|
7670
7674
|
lat: a.lat,
|
|
7671
7675
|
lng: a.lng,
|