@idmwx/idmui-gl4 2.3.8 → 2.4.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
CHANGED
|
@@ -13507,7 +13507,7 @@ const Km = {
|
|
|
13507
13507
|
});
|
|
13508
13508
|
},
|
|
13509
13509
|
async fetchHistoryData(t) {
|
|
13510
|
-
this.loading = !0, this.showMeteo = !0, this.form.lng = t.lng, this.form.lat = t.lat, this.form.followId = t.followId, this.handleDrawInfoMarker([t.lng, t.lat]),
|
|
13510
|
+
this.loading = !0, this.showMeteo = !0, this.form.lng = t.lng, this.form.lat = t.lat, this.form.followId = t.followId, this.handleDrawInfoMarker([t.lng, t.lat]), this.meteoData = [];
|
|
13511
13511
|
const { weatherModels: e, marineModels: o } = To.autoPickMeteoModel(t.forecastModel), i = {
|
|
13512
13512
|
lat: t.lat,
|
|
13513
13513
|
lng: t.lng,
|
|
@@ -13546,6 +13546,8 @@ const Km = {
|
|
|
13546
13546
|
return !1;
|
|
13547
13547
|
},
|
|
13548
13548
|
handleGetPosition(t) {
|
|
13549
|
+
if (isNaN(t.lat) || isNaN(t.lng))
|
|
13550
|
+
return !1;
|
|
13549
13551
|
this.form.latDegree = Number(q.lat2pretty(t.lat).degree), this.form.latMinute = Number(q.lat2pretty(t.lat).minute), this.form.latDirection = q.lat2pretty(t.lat).direction, this.form.lngDegree = Number(q.lng2pretty(t.lng).degree), this.form.lngMinute = Number(q.lng2pretty(t.lng).minute), this.form.lngDirection = q.lng2pretty(t.lng).direction;
|
|
13550
13552
|
},
|
|
13551
13553
|
handleDrawInfoMarker(t) {
|
|
@@ -15420,6 +15422,7 @@ function zd(t, e, o, i, a, r) {
|
|
|
15420
15422
|
})
|
|
15421
15423
|
}), null, 16, ["simple", "map", "token", "default-meteo-token", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
|
|
15422
15424
|
p(c, j({
|
|
15425
|
+
ref: "idmTropicals",
|
|
15423
15426
|
simple: o.simple,
|
|
15424
15427
|
map: o.map,
|
|
15425
15428
|
token: o.token,
|