@idmwx/idmui-gl4 0.2.3 → 0.2.5
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 +2 -2
- package/dist/index.umd.cjs +2 -2
- package/package.json +85 -82
package/dist/index.js
CHANGED
|
@@ -5080,7 +5080,7 @@ const Io = {
|
|
|
5080
5080
|
let t = z.key;
|
|
5081
5081
|
t === "current-direction" && (t = "current"), this.weatherLayers[t] && (this.weatherLayers[t].active = !0, this.weatherLayers[t].version = Math.random() + 1, t === "wind-particle" && (this.weatherLayers[t].particle = this.showWindParticle), t === "current-particle" && (this.weatherLayers[t].particle = this.showCurrentParticle));
|
|
5082
5082
|
}
|
|
5083
|
-
this.activeWeatherLayers.some((z) => ["wind-particle", "sig-wave", "current-particle", "water-temp", "temp"].some((t) => t === z.key)) ? (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), this.map.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "visible"), this.map.moveLayer((A = this.viewport) == null ? void 0 : A.rampColorLayer, "country-boundaries"), this.map.moveLayer((e = this.viewport) == null ? void 0 : e.particleLayer, "country-boundaries"), this.mapFeather === "nautical" && (this.map.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "none"), this.map.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "none"), this.map.getLayer("
|
|
5083
|
+
this.autoActive && this.activeWeatherLayers.some((z) => ["wind-particle", "sig-wave", "current-particle", "water-temp", "temp"].some((t) => t === z.key)) ? (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), this.map.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "visible"), this.map.moveLayer((A = this.viewport) == null ? void 0 : A.rampColorLayer, "country-boundaries"), this.map.moveLayer((e = this.viewport) == null ? void 0 : e.particleLayer, "country-boundaries"), this.mapFeather === "nautical" && (this.map.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "none"), this.map.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "none"), this.map.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "visible"), this.map.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "visible"), this.map.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "visible"), this.map.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "visible"), this.map.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "visible"), this.map.getLayer("state-label") && this.map.setLayoutProperty("state-label", "visibility", "visible"))) : (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), this.map.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "none"), this.mapFeather === "nautical" && (this.map.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "visible"), this.map.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "visible"), this.map.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "none"), this.map.getLayer("country-label") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "none"), this.map.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "none"), this.map.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "none"), this.map.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "none"), this.map.getLayer("state-label") && this.map.setLayoutProperty("state-label", "visibility", "none")));
|
|
5084
5084
|
},
|
|
5085
5085
|
handleWeatherLayerChange(o = { sourceChanged: !1 }) {
|
|
5086
5086
|
this.map ? setTimeout(() => {
|
|
@@ -10628,7 +10628,7 @@ class Kz {
|
|
|
10628
10628
|
minzoom: 3,
|
|
10629
10629
|
maxzoom: 12,
|
|
10630
10630
|
layout: {
|
|
10631
|
-
visibility: "
|
|
10631
|
+
visibility: "visible"
|
|
10632
10632
|
}
|
|
10633
10633
|
}
|
|
10634
10634
|
}, this.hi = {
|