zhihao-ui 1.2.8 → 1.2.10
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/es/{DiyDataTable-cJVfvtax.js → DiyDataTable-KOY6vjPs.js} +90 -85
- package/dist/es/{Map-CMiThYaG.js → Map-B8_d8utt.js} +62 -62
- package/dist/es/index.js +3 -3
- package/dist/index.css +1 -1
- package/dist/types/components/DiyDataTable/type.d.ts +5 -3
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +3 -3
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ const LENGTH_UNIT_LABEL = {
|
|
|
16
16
|
};
|
|
17
17
|
var SWITCH_BTN = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Mobile = "mobile", e.WaterGauge = "waterGauge", e))(SWITCH_BTN || {});
|
|
18
18
|
class ShipMapData {
|
|
19
|
-
constructor(t, o, n, a, r, l, s, i, d, u, p, c, f,
|
|
19
|
+
constructor(t, o, n, a, r, l, s, i, d, u, p, c, f, v, y, k, L, E, m, g, h, I) {
|
|
20
20
|
T(this, "id");
|
|
21
21
|
// mmsi
|
|
22
22
|
T(this, "mmsi");
|
|
@@ -56,7 +56,7 @@ class ShipMapData {
|
|
|
56
56
|
T(this, "existDevice");
|
|
57
57
|
T(this, "existMobile");
|
|
58
58
|
T(this, "existWaterGauge");
|
|
59
|
-
this.id = t, this.mmsi = o, this.fill = n, this.shipType = a, this.name = r, this.length = l, this.breadth = s, this.lon = i, this.lat = d, this.createdAt = u, this.speed = p, this.from = c, this.sailStatus = f, this.hdg =
|
|
59
|
+
this.id = t, this.mmsi = o, this.fill = n, this.shipType = a, this.name = r, this.length = l, this.breadth = s, this.lon = i, this.lat = d, this.createdAt = u, this.speed = p, this.from = c, this.sailStatus = f, this.hdg = v, this.cog = y, this.posType = k, this.type = L, this.angle = E, this.leftIconColor = m, this.existDevice = g, this.existMobile = h, this.existWaterGauge = I;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
const formatLength = function(e, t) {
|
|
@@ -135,7 +135,7 @@ const labels = ref([]), _hoisted_1$4 = {
|
|
|
135
135
|
setup(e, { expose: t, emit: o }) {
|
|
136
136
|
const n = o, a = useModel(e, "visible"), r = ref(LENGTH_UNIT.NM), l = ref([]), s = ref(!1), i = new VectorSource();
|
|
137
137
|
let d, u, p, c, f;
|
|
138
|
-
const
|
|
138
|
+
const v = new VectorLayer({
|
|
139
139
|
source: i,
|
|
140
140
|
style: {
|
|
141
141
|
"fill-color": "rgba(255, 255, 255, 0.2)",
|
|
@@ -180,11 +180,11 @@ const labels = ref([]), _hoisted_1$4 = {
|
|
|
180
180
|
l.value = [], document.querySelectorAll(".ol-tooltip.ol-tooltip-static").forEach((_) => {
|
|
181
181
|
var M;
|
|
182
182
|
(M = _ == null ? void 0 : _.parentNode) == null || M.removeChild(_);
|
|
183
|
-
}), i.clear(), (S = mapInstance.value) == null || S.removeInteraction(L), (w = mapInstance.value) == null || w.removeLayer(
|
|
183
|
+
}), i.clear(), (S = mapInstance.value) == null || S.removeInteraction(L), (w = mapInstance.value) == null || w.removeLayer(v), u != null && u.parentNode && u.parentNode.removeChild(u);
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function g() {
|
|
186
186
|
var w, _;
|
|
187
|
-
m(), (w = mapInstance.value) == null || w.addLayer(
|
|
187
|
+
m(), (w = mapInstance.value) == null || w.addLayer(v), L = new Draw({
|
|
188
188
|
source: i,
|
|
189
189
|
type: "LineString",
|
|
190
190
|
style: function() {
|
|
@@ -234,9 +234,9 @@ const labels = ref([]), _hoisted_1$4 = {
|
|
|
234
234
|
n("close");
|
|
235
235
|
};
|
|
236
236
|
return watch(() => a, () => {
|
|
237
|
-
a && !s.value && (k(),
|
|
237
|
+
a && !s.value && (k(), g());
|
|
238
238
|
}, { deep: !0, immediate: !0 }), t({
|
|
239
|
-
addInteraction:
|
|
239
|
+
addInteraction: g,
|
|
240
240
|
removeInteraction: m
|
|
241
241
|
}), (S, w) => {
|
|
242
242
|
const _ = resolveComponent("el-select");
|
|
@@ -613,12 +613,12 @@ function drawLabelBody(e, t, o) {
|
|
|
613
613
|
e.save(), n && (e.font = n);
|
|
614
614
|
let p = e.measureText(s).width + 2 * a;
|
|
615
615
|
(i || d) && (p += r + 4 * a), e.restore();
|
|
616
|
-
let c, f = -1,
|
|
617
|
-
if (f = 0, c = calculateBounds(l, f, p,
|
|
616
|
+
let c, f = -1, v = r + 3 * a;
|
|
617
|
+
if (f = 0, c = calculateBounds(l, f, p, v, u), c && f > -1) {
|
|
618
618
|
let y = getBottomLeftPoint(c), k = getTopRighttPoint(c);
|
|
619
619
|
return {
|
|
620
620
|
center: l,
|
|
621
|
-
x: calculateAnchorPoint(l, f, p,
|
|
621
|
+
x: calculateAnchorPoint(l, f, p, v, u),
|
|
622
622
|
l: k,
|
|
623
623
|
r: y,
|
|
624
624
|
bounds: c,
|
|
@@ -641,8 +641,8 @@ const drawText = (e, t) => {
|
|
|
641
641
|
e.font = "12px map-iconfont", e.fillStyle = "#3370ff";
|
|
642
642
|
let u = e.measureText(n).width + 6;
|
|
643
643
|
l.forEach((p, c) => {
|
|
644
|
-
let f = getIconFont(p),
|
|
645
|
-
e.fillText(f, i + u +
|
|
644
|
+
let f = getIconFont(p), v = 20 * c;
|
|
645
|
+
e.fillText(f, i + u + v, d);
|
|
646
646
|
});
|
|
647
647
|
}
|
|
648
648
|
e.font = s || labelFont, e.fillStyle = a, e.fillText(n, i, d), e.restore();
|
|
@@ -677,7 +677,7 @@ const drawText = (e, t) => {
|
|
|
677
677
|
}, u = drawLabelBody(e, labels.value, d);
|
|
678
678
|
if (u) {
|
|
679
679
|
const { x: p, bounds: c, l: f } = u;
|
|
680
|
-
let
|
|
680
|
+
let v = [getTopLeftPoint(c), getBottomLeftPoint(c), getBottomRightPoint(c), getTopRighttPoint(c)];
|
|
681
681
|
labels.value.push(u), drawPolygon(e, {
|
|
682
682
|
points: [o, p],
|
|
683
683
|
strokeColor: a,
|
|
@@ -689,9 +689,9 @@ const drawText = (e, t) => {
|
|
|
689
689
|
scale: void 0,
|
|
690
690
|
globalAlpha: labelAlpha
|
|
691
691
|
}), i != null && i.length && i.forEach(() => {
|
|
692
|
-
|
|
692
|
+
v[1][0] += 20, v[2][0] += 20;
|
|
693
693
|
}), drawPolygon(e, {
|
|
694
|
-
points:
|
|
694
|
+
points: v,
|
|
695
695
|
strokeColor: a,
|
|
696
696
|
fillColor: l,
|
|
697
697
|
shouldClosePath: !0
|
|
@@ -729,11 +729,11 @@ const setTruckStyle = (e, t, o, n) => new Style({
|
|
|
729
729
|
i = i / s - 20, d = d / s;
|
|
730
730
|
const u = i - 70, p = d - 68;
|
|
731
731
|
let c = 180;
|
|
732
|
-
const f = 56,
|
|
732
|
+
const f = 56, v = "#FFFFFF";
|
|
733
733
|
let y = 176;
|
|
734
734
|
const k = 52;
|
|
735
735
|
let L = "#164AFF", E = "#FFFFFF";
|
|
736
|
-
o === CAR_COLOR.YELLOW ? (y = 176, L = "#FFC81E", E = "rgba(0,0,0,0.88)") : o === CAR_COLOR.Y_GREEN && (c = 200, y = 196, L = "#8FED7C", E = "rgba(0,0,0,0.88)"), n != null && n.length && (c += n.length * 56), fillRectRadius(l, u, p, c, f,
|
|
736
|
+
o === CAR_COLOR.YELLOW ? (y = 176, L = "#FFC81E", E = "rgba(0,0,0,0.88)") : o === CAR_COLOR.Y_GREEN && (c = 200, y = 196, L = "#8FED7C", E = "rgba(0,0,0,0.88)"), n != null && n.length && (c += n.length * 56), fillRectRadius(l, u, p, c, f, v), fillRectRadius(l, u + 2, p + 2, y, k, L), o === CAR_COLOR.Y_GREEN && fillRectRadius(l, u + 2, p + 2, 68, k, "#FFC81E"), l.save(), l.restore(), l.fillStyle = E, l.font = "bold 28px Arial", l.textAlign = "left", l.textBaseline = "middle";
|
|
737
737
|
const m = `${t.slice(0, 2) + " · " + t.slice(2)}`;
|
|
738
738
|
if (l.fillText(m, u + 12, p + 32), l.save(), l.restore(), n != null && n.length) {
|
|
739
739
|
const h = l.measureText(m).width + 12;
|
|
@@ -742,8 +742,8 @@ const setTruckStyle = (e, t, o, n) => new Style({
|
|
|
742
742
|
C === DEVICE_TYPE.CAMERA && (l.drawImage(cameraImage, i - 54 + h + I * 56, d - 64, 50, 50), ++I), C === DEVICE_TYPE.LOAD && (l.drawImage(loadImage, i - 54 + h + I * 56, d - 64, 50, 50), ++I);
|
|
743
743
|
});
|
|
744
744
|
}
|
|
745
|
-
const
|
|
746
|
-
l.drawImage(
|
|
745
|
+
const g = dotImage;
|
|
746
|
+
l.drawImage(g, i + c / 2 - 90, d, 50 / s, 50 / s), l.restore();
|
|
747
747
|
}
|
|
748
748
|
});
|
|
749
749
|
ref([]);
|
|
@@ -1150,8 +1150,8 @@ const renderShips = (e) => {
|
|
|
1150
1150
|
offsetY: -10
|
|
1151
1151
|
}),
|
|
1152
1152
|
zIndex: 99
|
|
1153
|
-
}),
|
|
1154
|
-
s.state === "0" ? ((u = f.getText()) == null || u.setFill(new Fill({ color: stopColor })),
|
|
1153
|
+
}), v = [];
|
|
1154
|
+
s.state === "0" ? ((u = f.getText()) == null || u.setFill(new Fill({ color: stopColor })), v.push(r)) : ((p = f.getText()) == null || p.setFill(new Fill({ color: slowColor })), v.push(l)), v.push(f), c.setStyle(v), trackLineVectorSource.value.addFeature(c);
|
|
1155
1155
|
}
|
|
1156
1156
|
}), renderArrow(n, e), renderIconPoint();
|
|
1157
1157
|
}, renderArrow = (e, t) => {
|
|
@@ -1268,17 +1268,17 @@ const trackId = ref(""), cursor = ref(0), renderTrack = (e, t, o, n, a = "ship")
|
|
|
1268
1268
|
// 设置不阻拦事件
|
|
1269
1269
|
});
|
|
1270
1270
|
if (a) {
|
|
1271
|
-
let c = !1, f = [0, 0],
|
|
1271
|
+
let c = !1, f = [0, 0], v = [0, 0];
|
|
1272
1272
|
r.addEventListener("mousedown", function(y) {
|
|
1273
1273
|
var k;
|
|
1274
|
-
c = !0, y.clientX, y.clientY, f = (k = mapInstance.value) == null ? void 0 : k.getCoordinateFromPixel([y.clientX - 200, y.clientY - 200]),
|
|
1274
|
+
c = !0, y.clientX, y.clientY, f = (k = mapInstance.value) == null ? void 0 : k.getCoordinateFromPixel([y.clientX - 200, y.clientY - 200]), v = [
|
|
1275
1275
|
y.clientX - r.getBoundingClientRect().left + 160,
|
|
1276
1276
|
y.clientY - r.getBoundingClientRect().top + 84
|
|
1277
1277
|
], y.preventDefault();
|
|
1278
1278
|
}), document.addEventListener("mousemove", function(y) {
|
|
1279
1279
|
var k;
|
|
1280
1280
|
if (c) {
|
|
1281
|
-
let L = (k = mapInstance.value) == null ? void 0 : k.getCoordinateFromPixel([y.clientX -
|
|
1281
|
+
let L = (k = mapInstance.value) == null ? void 0 : k.getCoordinateFromPixel([y.clientX - v[0], y.clientY - v[1]]), E = L[0] - f[0], m = L[1] - f[1];
|
|
1282
1282
|
l.setPosition([f[0] + E, f[1] + m]);
|
|
1283
1283
|
}
|
|
1284
1284
|
}), document.addEventListener("mouseup", function() {
|
|
@@ -1372,8 +1372,8 @@ const trackId = ref(""), cursor = ref(0), renderTrack = (e, t, o, n, a = "ship")
|
|
|
1372
1372
|
});
|
|
1373
1373
|
p.on("translating", function(c) {
|
|
1374
1374
|
var y;
|
|
1375
|
-
const f = c.features.item(0).getGeometry().getCoordinates(),
|
|
1376
|
-
markerPosition.value = `${
|
|
1375
|
+
const f = c.features.item(0).getGeometry().getCoordinates(), v = toLonLat(f);
|
|
1376
|
+
markerPosition.value = `${v[0].toFixed(6)}, ${v[1].toFixed(6)}`, (y = marker.value) == null || y.setStyle(createIconStyle(markerPosition.value));
|
|
1377
1377
|
}), mapInstance.value.addInteraction(p);
|
|
1378
1378
|
}
|
|
1379
1379
|
const d = new Point([n, a]);
|
|
@@ -1400,18 +1400,8 @@ const circleStyle = {
|
|
|
1400
1400
|
const t = e.getGeometry().getCoordinates();
|
|
1401
1401
|
return new MultiPoint(t);
|
|
1402
1402
|
}
|
|
1403
|
-
}
|
|
1404
|
-
|
|
1405
|
-
style: [
|
|
1406
|
-
{
|
|
1407
|
-
"stroke-color": "rgba(255, 255, 255, 1)",
|
|
1408
|
-
"stroke-width": 2,
|
|
1409
|
-
"fill-color": "rgba(255, 255, 255, 0.3)"
|
|
1410
|
-
},
|
|
1411
|
-
new Style(circleStyle)
|
|
1412
|
-
]
|
|
1413
|
-
});
|
|
1414
|
-
let draw;
|
|
1403
|
+
};
|
|
1404
|
+
let drawVector, draw;
|
|
1415
1405
|
function createMeasureTooltip() {
|
|
1416
1406
|
var e;
|
|
1417
1407
|
measureTooltipElement != null && measureTooltipElement.parentNode && measureTooltipElement.parentNode.removeChild(measureTooltipElement), measureTooltipElement = document.createElement("div"), measureTooltipElement.className = "ol-tooltip ol-tooltip-draw-polygon", measureTooltip = new Overlay({
|
|
@@ -1443,7 +1433,7 @@ const validateSquareLimit = (e) => {
|
|
|
1443
1433
|
let storeFeature;
|
|
1444
1434
|
function addInteraction(e) {
|
|
1445
1435
|
var o, n;
|
|
1446
|
-
|
|
1436
|
+
drawVector || init(), drawnState = "undrawn", layerState = "drawn", (o = mapInstance.value) == null || o.addLayer(drawVector), draw = new Draw({
|
|
1447
1437
|
type: "Polygon",
|
|
1448
1438
|
// source: drawVector.getSource(),
|
|
1449
1439
|
source,
|
|
@@ -1530,7 +1520,17 @@ const endFn = (e) => {
|
|
|
1530
1520
|
let t = "点击选择起点";
|
|
1531
1521
|
sketch && (t = "单击继续,双击结束"), helpTooltipElement && (helpTooltipElement.innerHTML = t, helpTooltip.setPosition(e.coordinate), helpTooltipElement.classList.remove("hidden")), layerState === "drawn" && (((o = mapInstance.value) == null ? void 0 : o.getTargetElement()).style.cursor = "crosshair");
|
|
1532
1522
|
}, init = () => {
|
|
1533
|
-
mapInstance.value && (
|
|
1523
|
+
mapInstance.value && (drawVector = new VectorLayer({
|
|
1524
|
+
source,
|
|
1525
|
+
style: [
|
|
1526
|
+
{
|
|
1527
|
+
"stroke-color": "rgba(255, 255, 255, 1)",
|
|
1528
|
+
"stroke-width": 2,
|
|
1529
|
+
"fill-color": "rgba(255, 255, 255, 0.3)"
|
|
1530
|
+
},
|
|
1531
|
+
new Style(circleStyle)
|
|
1532
|
+
]
|
|
1533
|
+
}), mapInstance.value.on("pointermove", pointerMoveHandler), mapInstance.value.getViewport().addEventListener("mouseout", function() {
|
|
1534
1534
|
var e;
|
|
1535
1535
|
(e = helpTooltipElement == null ? void 0 : helpTooltipElement.classList) == null || e.add("hidden");
|
|
1536
1536
|
}), mapInstance.value.on("dblclick", function(e) {
|
|
@@ -1558,7 +1558,7 @@ const endFn = (e) => {
|
|
|
1558
1558
|
m[m.tiandituTile = new TileLayer({ source: new XYZ({ url: baseMap.tiandituTile }) })] = "tiandituTile", m[m.tiandituTileMark = new TileLayer({ source: new XYZ({ url: baseMap.tiandituTileMark }) })] = "tiandituTileMark", m[m.tiandituImgTile = new TileLayer({ source: new XYZ({ url: baseMap.tiandituImgTile }), visible: !1 })] = "tiandituImgTile", m[m.tiandituImgTileMark = new TileLayer({ source: new XYZ({ url: baseMap.tiandituImgTileMark }), visible: !1 })] = "tiandituImgTileMark", m[m.greenMark = new TileLayer({ source: new XYZ({ url: baseMap.greenTile }) })] = "greenMark";
|
|
1559
1559
|
})(c || (c = {}));
|
|
1560
1560
|
const f = () => {
|
|
1561
|
-
var
|
|
1561
|
+
var g, h;
|
|
1562
1562
|
const m = {
|
|
1563
1563
|
projection: projection.mercator,
|
|
1564
1564
|
// 地图投影坐标系
|
|
@@ -1585,34 +1585,34 @@ const endFn = (e) => {
|
|
|
1585
1585
|
c.greenMark
|
|
1586
1586
|
],
|
|
1587
1587
|
view: new View(m)
|
|
1588
|
-
}), (
|
|
1588
|
+
}), (g = a.value) == null || g.setScaleLine(), (h = mapInstance.value) == null || h.on("moveend", k), v(s.vehicleMode === "ship"), y(s.vehicleMode === "ship" ? BaseMapType.satellite : BaseMapType.vector);
|
|
1589
1589
|
};
|
|
1590
1590
|
onMounted(() => {
|
|
1591
1591
|
f();
|
|
1592
1592
|
});
|
|
1593
|
-
const
|
|
1594
|
-
var
|
|
1595
|
-
(
|
|
1593
|
+
const v = (m) => {
|
|
1594
|
+
var g;
|
|
1595
|
+
(g = mapInstance.value) == null || g.getLayers().forEach((h) => {
|
|
1596
1596
|
h.ol_uid === c.greenMark.ol_uid && (h.setVisible(m), u.value = m);
|
|
1597
1597
|
});
|
|
1598
1598
|
}, y = (m) => {
|
|
1599
|
-
var
|
|
1600
|
-
console.log("mode", m), (
|
|
1599
|
+
var g;
|
|
1600
|
+
console.log("mode", m), (g = mapInstance.value) == null || g.getLayers().forEach((h) => {
|
|
1601
1601
|
(h.ol_uid === c.tiandituTile.ol_uid || h.ol_uid === c.tiandituTileMark.ol_uid || h.ol_uid === c.tiandituImgTile.ol_uid || h.ol_uid === c.tiandituImgTileMark.ol_uid) && h.setVisible(!1), (m === BaseMapType.vector && h.ol_uid === c.tiandituTile.ol_uid || h.ol_uid === c.tiandituTileMark.ol_uid || m === BaseMapType.satellite && h.ol_uid === c.tiandituImgTile.ol_uid || h.ol_uid === c.tiandituImgTileMark.ol_uid) && (console.log(m, h.ol_uid), h.setVisible(!0));
|
|
1602
1602
|
});
|
|
1603
1603
|
}, k = () => {
|
|
1604
|
-
const m = mapInstance.value.getView(),
|
|
1605
|
-
|
|
1604
|
+
const m = mapInstance.value.getView(), g = m.getZoom();
|
|
1605
|
+
g && L(g);
|
|
1606
1606
|
const h = m.calculateExtent(mapInstance.value.getSize());
|
|
1607
|
-
h &&
|
|
1607
|
+
h && g && E(h, g);
|
|
1608
1608
|
}, L = (m) => {
|
|
1609
1609
|
var I, C, V, S;
|
|
1610
1610
|
i.value = m;
|
|
1611
|
-
const
|
|
1611
|
+
const g = (I = mapInstance.value) == null ? void 0 : I.getLayers(), h = s.vehicleMode === "ship" ? g == null ? void 0 : g.getArray().find((w) => w.ol_uid === c.greenMark.ol_uid) : void 0;
|
|
1612
1612
|
!d.value && u.value && m < mapZoom.shipGreenDotMax ? (p.value = !0, h == null || h.setVisible(!0), (C = shipsLayer.value) == null || C.setVisible(!1), (V = largeAmountShipsLayer.value) == null || V.setVisible(!1)) : (p.value = !1, h == null || h.setVisible(!1), (S = largeAmountShipsLayer.value) == null || S.setVisible(!0)), l("zoomChanged", m);
|
|
1613
|
-
}, E = (m,
|
|
1613
|
+
}, E = (m, g) => {
|
|
1614
1614
|
const h = transform([m[0], m[1]], projection.mercator, projection.data), I = transform([m[2], m[3]], projection.mercator, projection.data);
|
|
1615
|
-
l("extentChanged", { extent: [h, I], zoom:
|
|
1615
|
+
l("extentChanged", { extent: [h, I], zoom: g });
|
|
1616
1616
|
};
|
|
1617
1617
|
return t({
|
|
1618
1618
|
mapInstance,
|
|
@@ -1633,34 +1633,34 @@ const endFn = (e) => {
|
|
|
1633
1633
|
},
|
|
1634
1634
|
clearSelectFeature,
|
|
1635
1635
|
findShip,
|
|
1636
|
-
focusShip: (m,
|
|
1636
|
+
focusShip: (m, g) => {
|
|
1637
1637
|
var h, I;
|
|
1638
|
-
(h = shipsLayer.value) == null || h.setVisible(!1), (I = largeAmountShipsLayer.value) == null || I.setVisible(!1), findShip(m,
|
|
1638
|
+
(h = shipsLayer.value) == null || h.setVisible(!1), (I = largeAmountShipsLayer.value) == null || I.setVisible(!1), findShip(m, g);
|
|
1639
1639
|
},
|
|
1640
1640
|
showTracks,
|
|
1641
1641
|
removeAllTrackLayer,
|
|
1642
1642
|
switchFilterItem,
|
|
1643
1643
|
rerenderShip,
|
|
1644
|
-
switchGreenDot: () =>
|
|
1644
|
+
switchGreenDot: () => v(!1),
|
|
1645
1645
|
zoomTruckIcon,
|
|
1646
|
-
renderTruckTrack: (m,
|
|
1647
|
-
renderTrack(m,
|
|
1646
|
+
renderTruckTrack: (m, g, h) => {
|
|
1647
|
+
renderTrack(m, g, h, LENGTH_UNIT.KM, "truck");
|
|
1648
1648
|
},
|
|
1649
1649
|
renderMarker,
|
|
1650
1650
|
setMarkerPosition,
|
|
1651
1651
|
drawPolygonTool
|
|
1652
|
-
}), (m,
|
|
1652
|
+
}), (m, g) => (openBlock(), createElementBlock("div", {
|
|
1653
1653
|
class: "map-page map-container",
|
|
1654
1654
|
ref_key: "pageRef",
|
|
1655
1655
|
ref: n
|
|
1656
1656
|
}, [
|
|
1657
|
-
|
|
1657
|
+
g[0] || (g[0] = createElementVNode("div", {
|
|
1658
1658
|
id: "map",
|
|
1659
1659
|
class: "map"
|
|
1660
1660
|
}, null, -1)),
|
|
1661
1661
|
createVNode(ToolPanel, {
|
|
1662
1662
|
"vehicle-mode": m.vehicleMode,
|
|
1663
|
-
onSwitchGreenDot:
|
|
1663
|
+
onSwitchGreenDot: v,
|
|
1664
1664
|
onSwitchMapTile: y
|
|
1665
1665
|
}, null, 8, ["vehicle-mode"]),
|
|
1666
1666
|
createVNode(ScaleLine, {
|
package/dist/es/index.js
CHANGED
|
@@ -16,9 +16,9 @@ import { Z as u } from "./PageHeadPanel-_mKu2rMQ.js";
|
|
|
16
16
|
import { Z as D } from "./ToolTips-BTCP0N--.js";
|
|
17
17
|
import { Z as I } from "./BaseInfo-Dv-eon6t.js";
|
|
18
18
|
import { Z as d } from "./DetailHeader-C_mAB8-2.js";
|
|
19
|
-
import { Z as P } from "./DiyDataTable-
|
|
20
|
-
import { D as J } from "./DiyDataTable-
|
|
21
|
-
import { Z as T } from "./Map-
|
|
19
|
+
import { Z as P } from "./DiyDataTable-KOY6vjPs.js";
|
|
20
|
+
import { D as J } from "./DiyDataTable-KOY6vjPs.js";
|
|
21
|
+
import { Z as T } from "./Map-B8_d8utt.js";
|
|
22
22
|
const b = [
|
|
23
23
|
I,
|
|
24
24
|
r,
|