gisviewer-vue3-arcgis 1.0.259 → 1.0.263
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/es/src/gis-map/gis-map.vue.d.ts +13 -1
- package/es/src/gis-map/gis-map.vue.mjs +101 -89
- package/es/src/gis-map/index.d.ts +12 -0
- package/es/src/gis-map/utils/dbscan-cluster/index.d.ts +1 -1
- package/es/src/gis-map/utils/dbscan-cluster/index.mjs +67 -76
- package/es/src/gis-map/utils/open-drive-renderer/index.d.ts +12 -1
- package/es/src/gis-map/utils/open-drive-renderer/index.mjs +416 -311
- package/es/src/gis-map/utils/signal-control-area/cross-renderer.d.ts +51 -1
- package/es/src/gis-map/utils/signal-control-area/cross-renderer.mjs +401 -20
- package/es/src/gis-map/utils/signal-control-area/show-area.mjs +23 -17
- package/es/src/types/index.d.ts +5 -0
- package/lib/src/gis-map/gis-map.vue.d.ts +13 -1
- package/lib/src/gis-map/gis-map.vue.js +1 -1
- package/lib/src/gis-map/index.d.ts +12 -0
- package/lib/src/gis-map/utils/dbscan-cluster/index.d.ts +1 -1
- package/lib/src/gis-map/utils/dbscan-cluster/index.js +1 -1
- package/lib/src/gis-map/utils/open-drive-renderer/index.d.ts +12 -1
- package/lib/src/gis-map/utils/open-drive-renderer/index.js +1 -1
- package/lib/src/gis-map/utils/signal-control-area/cross-renderer.d.ts +51 -1
- package/lib/src/gis-map/utils/signal-control-area/cross-renderer.js +1 -1
- package/lib/src/gis-map/utils/signal-control-area/show-area.js +1 -1
- package/lib/src/types/index.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import MapView from '@arcgis/core/views/MapView';
|
|
2
2
|
import SceneView from '@arcgis/core/views/SceneView';
|
|
3
|
-
import { IClusterPointParams, IEditSignalControlAreaParams, IFindSignalControlAreaParams, IFindSumoParams, ILaneNumberParams, ILayerVisibleParams, ILookAtParams, IMaskParam, IOverlayParam, IQueueLengthParams, ISetMapCameraParams, ISetMapCenterParams, IShowEdpassDeviceParams, IShowGreenWaveBandParams, IShowJurisdictionParams, IShowOpenDriveFromFileParams, IShowSignalControlAreaParams, ISignalCountdownProps, ISplitOpenDriveLaneParams, IStartCrossBufferParam, IToggleTrafficInfoParams, IUnselectSumoParams } from '../types';
|
|
3
|
+
import { IBlockOpenDriveLaneParams, IClusterPointParams, IEditSignalControlAreaParams, IFindSignalControlAreaParams, IFindSumoParams, ILaneNumberParams, ILayerVisibleParams, ILookAtParams, IMaskParam, IOverlayParam, IQueueLengthParams, ISetMapCameraParams, ISetMapCenterParams, IShowEdpassDeviceParams, IShowGreenWaveBandParams, IShowJurisdictionParams, IShowOpenDriveFromFileParams, IShowSignalControlAreaParams, ISignalCountdownProps, ISplitOpenDriveLaneParams, IStartCrossBufferParam, IToggleTrafficInfoParams, IUnselectSumoParams } from '../types';
|
|
4
4
|
import DbscanCluster from './utils/dbscan-cluster';
|
|
5
5
|
import EdpassDeviceController from './utils/edpass-device-controller';
|
|
6
6
|
import GreenWaveBandController from './utils/green-wave-band-controller';
|
|
@@ -135,6 +135,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
135
135
|
findSumoInOpenDrive: (params: IFindSumoParams) => Promise<import("../types").IResult>;
|
|
136
136
|
selectSumoInOpenDrive: (params: IFindSumoParams) => Promise<import("../types").IResult>;
|
|
137
137
|
unselectSumoInOpenDrive: (params?: IUnselectSumoParams | undefined) => Promise<import("../types").IResult>;
|
|
138
|
+
selectComputableInOpenDrive: (params: IFindSumoParams) => Promise<void | {
|
|
139
|
+
status: number;
|
|
140
|
+
message: string;
|
|
141
|
+
}>;
|
|
138
142
|
geometrySearchInOpenDrive: (params: any) => Promise<import("../types").IResult>;
|
|
139
143
|
getSumoInfo: (params: IFindSumoParams) => Promise<import("../types").IResult>;
|
|
140
144
|
splitOpenDriveLane: (params: ISplitOpenDriveLaneParams) => Promise<import("../types").IResult>;
|
|
@@ -142,6 +146,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
142
146
|
status: number;
|
|
143
147
|
message: string;
|
|
144
148
|
}>;
|
|
149
|
+
blockOpenDriveLane: (params: IBlockOpenDriveLaneParams) => Promise<void | {
|
|
150
|
+
status: number;
|
|
151
|
+
message: string;
|
|
152
|
+
}>;
|
|
153
|
+
clearBlockOpenDriveLane: () => void | {
|
|
154
|
+
status: number;
|
|
155
|
+
message: string;
|
|
156
|
+
};
|
|
145
157
|
showSignalControlArea: (params: IShowSignalControlAreaParams) => Promise<import("../types").IResult>;
|
|
146
158
|
showDistrictArea: (params: IShowSignalControlAreaParams) => Promise<void>;
|
|
147
159
|
showSubDistrictArea: (params: IShowSignalControlAreaParams) => Promise<void>;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import G, { registerStore as
|
|
1
|
+
import { defineComponent as gt, ref as _, reactive as ft, onMounted as yt, getCurrentInstance as wt, onUnmounted as Ct, computed as St, openBlock as T, createElementBlock as x, createElementVNode as y, withDirectives as vt, vShow as ht, Fragment as bt, renderList as Ot, createBlock as At } from "vue";
|
|
2
|
+
import G, { registerStore as Dt } from "./stores/index.mjs";
|
|
3
3
|
import "./style/index.css";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
4
|
+
import kt from "./utils/dbscan-cluster/index.mjs";
|
|
5
|
+
import Lt from "./utils/detect-gpu.mjs";
|
|
6
|
+
import Tt from "./utils/edpass-device-controller.mjs";
|
|
7
7
|
import H from "./utils/green-wave-band-controller/index.mjs";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
8
|
+
import It from "./utils/holo-flow/index.mjs";
|
|
9
|
+
import Bt from "./utils/holo-flow/signal-countdown-panel.vue.mjs";
|
|
10
|
+
import Mt from "./utils/map-initializer.mjs";
|
|
11
11
|
import E from "./utils/open-drive-renderer/index.mjs";
|
|
12
12
|
import N from "./utils/overlay.mjs";
|
|
13
|
-
import
|
|
14
|
-
import
|
|
13
|
+
import Pt from "./utils/police-jurisdiction.mjs";
|
|
14
|
+
import Vt from "./utils/queue-length.mjs";
|
|
15
15
|
import W from "./utils/road-config-tool/index.mjs";
|
|
16
|
-
import
|
|
16
|
+
import zt from "./utils/signal-control-area/edit-area.mjs";
|
|
17
17
|
import I from "./utils/signal-control-area/show-area.mjs";
|
|
18
|
-
import
|
|
19
|
-
const
|
|
18
|
+
import _t from "./utils/traffic-flow.mjs";
|
|
19
|
+
const xt = { class: "gis-viewer" }, Gt = { style: { position: "absolute", bottom: "80px", left: "10px", "z-index": "9999" } }, nn = /* @__PURE__ */ gt({
|
|
20
20
|
__name: "gis-map",
|
|
21
21
|
props: {
|
|
22
22
|
config: {},
|
|
@@ -26,45 +26,45 @@ const Vt = { class: "gis-viewer" }, zt = { style: { position: "absolute", bottom
|
|
|
26
26
|
setup(Z, { expose: Q, emit: j }) {
|
|
27
27
|
const h = _(null);
|
|
28
28
|
let n, p, c, o, r, s, g, t, l, a, d, w, b, f;
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
const
|
|
32
|
-
let
|
|
33
|
-
const
|
|
29
|
+
const O = _(!1);
|
|
30
|
+
Dt();
|
|
31
|
+
const B = G.useAppDataStore, M = ft([]), P = (e) => Math.log2(591657527591555e-6 / e);
|
|
32
|
+
let C = null, V = null;
|
|
33
|
+
const A = (e) => {
|
|
34
34
|
if (!Number.isFinite(e))
|
|
35
35
|
return;
|
|
36
36
|
const u = Math.round(e);
|
|
37
|
-
u !== V && (V = u,
|
|
37
|
+
u !== V && (V = u, S("update:zoom", u));
|
|
38
38
|
};
|
|
39
|
-
|
|
39
|
+
Lt(), yt(async () => {
|
|
40
40
|
if (!h.value)
|
|
41
41
|
return;
|
|
42
42
|
document.addEventListener("keydown", (m) => {
|
|
43
|
-
m.ctrlKey && m.key === "i" && (
|
|
43
|
+
m.ctrlKey && m.key === "i" && (O.value = !O.value);
|
|
44
44
|
});
|
|
45
|
-
const e =
|
|
46
|
-
i.assetsRoot = z.assetsRoot || u,
|
|
45
|
+
const e = wt(), { $gisviewerAssetsRoot: u } = e.appContext.config.globalProperties, i = await (await fetch(z.config)).json();
|
|
46
|
+
i.assetsRoot = z.assetsRoot || u, B.mapConfig = i, p = new Mt(), B.mapInitializer = p, n = await p.initialize({
|
|
47
47
|
container: h.value,
|
|
48
48
|
mapConfig: i,
|
|
49
|
-
markerClickCallback: (m, k, L,
|
|
50
|
-
|
|
49
|
+
markerClickCallback: (m, k, L, dt) => {
|
|
50
|
+
S("markerClick", m, k, L, dt);
|
|
51
51
|
},
|
|
52
52
|
mapClickCallback: (m, k, L) => {
|
|
53
|
-
|
|
53
|
+
S("mapClick", m, k, L);
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
56
|
const v = n.zoom ?? (n.scale ? P(n.scale) : void 0);
|
|
57
|
-
typeof v == "number" &&
|
|
58
|
-
const
|
|
59
|
-
|
|
57
|
+
typeof v == "number" && A(v);
|
|
58
|
+
const pt = n.zoom !== void 0 ? n.watch("zoom", (m) => {
|
|
59
|
+
A(m);
|
|
60
60
|
}) : n.watch("scale", (m) => {
|
|
61
|
-
typeof m == "number" && m > 0 &&
|
|
61
|
+
typeof m == "number" && m > 0 && A(P(m));
|
|
62
62
|
});
|
|
63
|
-
|
|
64
|
-
}),
|
|
65
|
-
a == null || a.clearSignalControlArea(), t == null || t.clearOpenDrive(), r.clearHoloTrace(), r.clearHoloSignal(), o == null || o.disconnectTrafficFlow(),
|
|
63
|
+
C = () => pt.remove(), r = new It(n, M), await r.init(), S("mapLoaded");
|
|
64
|
+
}), Ct(() => {
|
|
65
|
+
a == null || a.clearSignalControlArea(), t == null || t.clearOpenDrive(), r.clearHoloTrace(), r.clearHoloSignal(), o == null || o.disconnectTrafficFlow(), C == null || C(), C = null;
|
|
66
66
|
});
|
|
67
|
-
const J =
|
|
67
|
+
const J = St(() => n), U = () => {
|
|
68
68
|
const e = G.useAppDataStore;
|
|
69
69
|
e.saveTrackLog = !0;
|
|
70
70
|
}, $ = () => {
|
|
@@ -73,7 +73,7 @@ const Vt = { class: "gis-viewer" }, zt = { style: { position: "absolute", bottom
|
|
|
73
73
|
D("vehicleId");
|
|
74
74
|
}, K = () => {
|
|
75
75
|
D("plateNumber");
|
|
76
|
-
}, F = async (e) => await p.setMapCenter(e),
|
|
76
|
+
}, F = async (e) => await p.setMapCenter(e), X = async (e) => await p.setMapCamera(e), Y = (e) => p.setMapZoom(e), R = async (e) => await p.lookAt(e), ee = (e) => p.setLayerVisibility(e), te = (e, u) => p.requestCoordinateTransform(e, u), ne = (e) => {
|
|
77
77
|
p.cancelCoordinateTransform(e);
|
|
78
78
|
}, ae = (e) => {
|
|
79
79
|
p.setMapZoomRange(e);
|
|
@@ -81,7 +81,7 @@ const Vt = { class: "gis-viewer" }, zt = { style: { position: "absolute", bottom
|
|
|
81
81
|
c == null || c.clearLaneNumber();
|
|
82
82
|
}, oe = async (e) => (c || (c = new W(n)), await c.initializeSearch(e)), ie = async () => c == null ? void 0 : c.calCrossIndicatorArea(), ce = async () => {
|
|
83
83
|
}, le = async (e, u) => {
|
|
84
|
-
o || (o = new
|
|
84
|
+
o || (o = new _t(n)), o.connectTrafficFlow(e, u);
|
|
85
85
|
}, ue = () => {
|
|
86
86
|
o == null || o.disconnectTrafficFlow();
|
|
87
87
|
}, me = async (e) => {
|
|
@@ -98,23 +98,23 @@ const Vt = { class: "gis-viewer" }, zt = { style: { position: "absolute", bottom
|
|
|
98
98
|
r.handleUniSignalData(e);
|
|
99
99
|
}, we = () => {
|
|
100
100
|
r.clearHoloSignal();
|
|
101
|
-
}, Se = (e) => {
|
|
102
|
-
o == null || o.toggleTrafficInfo(e), r == null || r.toggleTrafficInfo(e);
|
|
103
101
|
}, Ce = (e) => {
|
|
102
|
+
o == null || o.toggleTrafficInfo(e), r == null || r.toggleTrafficInfo(e);
|
|
103
|
+
}, Se = (e) => {
|
|
104
104
|
r == null || r.togglePause(e);
|
|
105
105
|
}, ve = (e) => {
|
|
106
106
|
o == null || o.toggleTrafficObject(e), r == null || r.toggleTrafficObject(e);
|
|
107
107
|
}, D = (e) => {
|
|
108
108
|
r == null || r.updatePanelContent(e);
|
|
109
|
-
}, he = async (e) => (s || (s = new N(n)), s.addOverlays(e)), be = async (e) => (f || (f = new
|
|
109
|
+
}, he = async (e) => (s || (s = new N(n)), s.addOverlays(e)), be = async (e) => (f || (f = new kt(n)), f.addClusterPoints(e)), Oe = () => {
|
|
110
110
|
f == null || f.removeAllClusterPoints();
|
|
111
|
-
},
|
|
111
|
+
}, Ae = (e) => (s || (s = new N(n)), s.addMask(e)), De = () => {
|
|
112
112
|
s == null || s.removeMask();
|
|
113
113
|
}, ke = (e) => s == null ? void 0 : s.removeOverlaysByType(e), Le = (e) => s == null ? void 0 : s.removeOverlaysById(e), Te = () => s == null ? void 0 : s.removeAllOverlays(), Ie = () => {
|
|
114
114
|
s == null || s.showAllOverlays();
|
|
115
|
-
},
|
|
116
|
-
g || (g = new
|
|
117
|
-
},
|
|
115
|
+
}, Be = (e) => {
|
|
116
|
+
g || (g = new Vt(n)), g.updateQueueLength(e);
|
|
117
|
+
}, Me = () => {
|
|
118
118
|
g == null || g.removeQueueLength();
|
|
119
119
|
}, Pe = async (e, u) => (t || (t = new E(n)), await t.showOpenDriveFromServer(e, u)), Ve = async (e) => (t || (t = new E(n)), await t.clearOpenDrive(), await t.showOpenDriveFromFile(e)), ze = (e) => t ? t.setOpendriveVisibility(e) : {
|
|
120
120
|
status: -1,
|
|
@@ -128,44 +128,53 @@ const Vt = { class: "gis-viewer" }, zt = { style: { position: "absolute", bottom
|
|
|
128
128
|
}, He = async (e) => t ? t.unselectSumo(e) : {
|
|
129
129
|
status: -1,
|
|
130
130
|
message: "未加载OpenDrive地图"
|
|
131
|
-
}, Ee = async (e) => t ?
|
|
131
|
+
}, Ee = async (e) => t ? t.selectComputable(e) : {
|
|
132
|
+
status: -1,
|
|
133
|
+
message: "未加载OpenDrive地图"
|
|
134
|
+
}, Ne = async (e) => t ? await t.geometrySearch(e) : {
|
|
135
|
+
status: -1,
|
|
136
|
+
message: "未加载OpenDrive地图"
|
|
137
|
+
}, We = async (e) => t ? await t.getSumoInfo(e) : {
|
|
138
|
+
status: -1,
|
|
139
|
+
message: "未加载OpenDrive地图"
|
|
140
|
+
}, Ze = async (e) => t ? await (t == null ? void 0 : t.splitLane(e)) : {
|
|
132
141
|
status: -1,
|
|
133
142
|
message: "未加载OpenDrive地图"
|
|
134
|
-
},
|
|
143
|
+
}, Qe = async () => t ? t == null ? void 0 : t.clearSplitLane() : {
|
|
135
144
|
status: -1,
|
|
136
145
|
message: "未加载OpenDrive地图"
|
|
137
|
-
},
|
|
146
|
+
}, je = async (e) => t ? t == null ? void 0 : t.blockLane(e) : {
|
|
138
147
|
status: -1,
|
|
139
148
|
message: "未加载OpenDrive地图"
|
|
140
|
-
},
|
|
149
|
+
}, Je = () => t ? t == null ? void 0 : t.clearSplitLane() : {
|
|
141
150
|
status: -1,
|
|
142
151
|
message: "未加载OpenDrive地图"
|
|
143
|
-
},
|
|
152
|
+
}, Ue = async (e) => (a || (a = new I(n)), await a.showSignalControlArea(e)), $e = async (e) => (a || (a = new I(n)), await a.showDistrict(e)), qe = async (e) => (a || (a = new I(n)), await a.showSubDistrict(e)), Ke = async () => await (a == null ? void 0 : a.clearSignalControlArea()), Fe = (e) => a == null ? void 0 : a.setLayerVisibility(e), Xe = async (e) => a ? await (a == null ? void 0 : a.locateSignalControlArea(e)) : { status: -1, message: "未加载信号控制区" }, Ye = async (e) => a ? await a.highlightSignalControlArea(e) : { status: -1, message: "未加载信号控制区" }, Re = () => a ? a.resetHighlight() : { status: -1, message: "未加载信号控制区" }, et = (e) => (l || (l = new zt(n)), l.showSubSignalControlArea(e)), tt = (e) => l ? l.editSubSignalControlArea(e) : { status: -1, message: "未加载信号控制区" }, nt = () => l ? l.stopEditSubSignalControlArea() : { status: -1, message: "未加载信号控制区" }, at = (e) => l ? l.selectSubSignalControlAreaCross(e) : { status: -1, message: "未加载信号控制区" }, rt = (e) => l ? l.unselectSubSignalControlAreaCross(e) : { status: -1, message: "未加载信号控制区" }, st = (e) => {
|
|
144
153
|
if (!l)
|
|
145
154
|
return { status: -1, message: "未加载信号控制区" };
|
|
146
|
-
},
|
|
155
|
+
}, ot = (e) => (d || (d = new H(n)), d.addGreenWaveBand(e)), it = () => {
|
|
147
156
|
if (!d)
|
|
148
157
|
return { status: -1, message: "未加载绿波带" };
|
|
149
158
|
d.stopAddGreenWaveBand();
|
|
150
|
-
},
|
|
159
|
+
}, ct = async (e) => (d || (d = new H(n)), await d.showGreenWaveBand(e)), lt = async (e) => (w || (w = new Pt(n)), await w.showJurisdiction(e)), ut = () => {
|
|
151
160
|
if (!w)
|
|
152
161
|
return { status: -1, message: "未加载警务管辖区" };
|
|
153
162
|
w.clearJurisdiction();
|
|
154
|
-
},
|
|
163
|
+
}, mt = async (e) => (b || (b = new Tt(n)), await b.setEdpassLayerVisibility(e)), z = Z, S = j;
|
|
155
164
|
return Q({
|
|
156
165
|
mapViewer: J,
|
|
157
166
|
setLayerVisibility: ee,
|
|
158
167
|
setMapCenter: F,
|
|
159
|
-
lookAt:
|
|
160
|
-
setMapCamera:
|
|
161
|
-
setMapZoom:
|
|
168
|
+
lookAt: R,
|
|
169
|
+
setMapCamera: X,
|
|
170
|
+
setMapZoom: Y,
|
|
162
171
|
setMapZoomRange: ae,
|
|
163
172
|
requestCoordinateTransform: te,
|
|
164
173
|
cancelCoordinateTransform: ne,
|
|
165
174
|
addOverlays: he,
|
|
166
175
|
addClusterPoints: be,
|
|
167
|
-
removeAllClusterPoints:
|
|
168
|
-
addMask:
|
|
176
|
+
removeAllClusterPoints: Oe,
|
|
177
|
+
addMask: Ae,
|
|
169
178
|
removeMask: De,
|
|
170
179
|
showAllOverlays: Ie,
|
|
171
180
|
removeOverlaysByType: ke,
|
|
@@ -185,50 +194,53 @@ const Vt = { class: "gis-viewer" }, zt = { style: { position: "absolute", bottom
|
|
|
185
194
|
handleHoloSignalData: ge,
|
|
186
195
|
clearHoloSignal: we,
|
|
187
196
|
setInterpolate: de,
|
|
188
|
-
toggleTrafficInfo:
|
|
197
|
+
toggleTrafficInfo: Ce,
|
|
189
198
|
toggleTrafficObject: ve,
|
|
190
199
|
toggleVehicleInfo: D,
|
|
191
|
-
togglePause:
|
|
192
|
-
updateQueueLength:
|
|
193
|
-
removeQueueLength:
|
|
200
|
+
togglePause: Se,
|
|
201
|
+
updateQueueLength: Be,
|
|
202
|
+
removeQueueLength: Me,
|
|
194
203
|
showOpenDriveFromServer: Pe,
|
|
195
204
|
showOpenDriveFromFile: Ve,
|
|
196
205
|
clearOpenDrive: _e,
|
|
197
206
|
setOpendriveVisibility: ze,
|
|
198
|
-
geometrySearchInOpenDrive:
|
|
207
|
+
geometrySearchInOpenDrive: Ne,
|
|
199
208
|
findSumoInOpenDrive: xe,
|
|
200
209
|
selectSumoInOpenDrive: Ge,
|
|
201
210
|
unselectSumoInOpenDrive: He,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
211
|
+
selectComputableInOpenDrive: Ee,
|
|
212
|
+
getSumoInfo: We,
|
|
213
|
+
splitOpenDriveLane: Ze,
|
|
214
|
+
clearSplitOpenDriveLane: Qe,
|
|
215
|
+
blockOpenDriveLane: je,
|
|
216
|
+
clearBlockOpenDriveLane: Je,
|
|
217
|
+
showSignalControlArea: Ue,
|
|
218
|
+
showDistrictArea: $e,
|
|
219
|
+
showSubDistrictArea: qe,
|
|
220
|
+
clearSignalControlArea: Ke,
|
|
221
|
+
setSignalControlAreaVisibility: Fe,
|
|
222
|
+
locateSignalControlArea: Xe,
|
|
223
|
+
highlightSignalControlArea: Ye,
|
|
224
|
+
resetHighlightSignalControlArea: Re,
|
|
225
|
+
showSubSignalControlArea: et,
|
|
226
|
+
editSubSignalControlArea: tt,
|
|
227
|
+
stopEditSubSignalControlArea: nt,
|
|
228
|
+
selectSubSignalControlAreaCross: at,
|
|
229
|
+
unselectSubSignalControlAreaCross: rt,
|
|
230
|
+
changeSubSignalControlAreaBorderVisibility: st,
|
|
231
|
+
addGreenWaveBand: ot,
|
|
232
|
+
stopAddGreenWaveBand: it,
|
|
233
|
+
showGreenWaveBand: ct,
|
|
234
|
+
showPoliceArea: lt,
|
|
235
|
+
clearPoliceArea: ut,
|
|
236
|
+
setEdpassLayerVisibility: mt
|
|
237
|
+
}), (e, u) => (T(), x("div", xt, [
|
|
226
238
|
y("div", {
|
|
227
239
|
class: "gis-viewer-main",
|
|
228
240
|
ref_key: "mapContainer",
|
|
229
241
|
ref: h
|
|
230
242
|
}, [
|
|
231
|
-
|
|
243
|
+
vt(y("div", Gt, [
|
|
232
244
|
y("button", {
|
|
233
245
|
style: { "margin-right": "10px" },
|
|
234
246
|
onClick: U
|
|
@@ -243,10 +255,10 @@ const Vt = { class: "gis-viewer" }, zt = { style: { position: "absolute", bottom
|
|
|
243
255
|
}, " 显示车辆id "),
|
|
244
256
|
y("button", { onClick: K }, "显示车辆号牌")
|
|
245
257
|
], 512), [
|
|
246
|
-
[
|
|
258
|
+
[ht, O.value]
|
|
247
259
|
])
|
|
248
260
|
], 512),
|
|
249
|
-
(T(!0), x(
|
|
261
|
+
(T(!0), x(bt, null, Ot(M, (i, v) => (T(), At(Bt, {
|
|
250
262
|
key: v,
|
|
251
263
|
"display-mode": i.displayMode,
|
|
252
264
|
flash: i.flash,
|
|
@@ -263,5 +275,5 @@ const Vt = { class: "gis-viewer" }, zt = { style: { position: "absolute", bottom
|
|
|
263
275
|
}
|
|
264
276
|
});
|
|
265
277
|
export {
|
|
266
|
-
|
|
278
|
+
nn as default
|
|
267
279
|
};
|
|
@@ -119,6 +119,10 @@ export declare const GisMap: import("@easyest/utils/dist/lib/withinstall").SFCWi
|
|
|
119
119
|
findSumoInOpenDrive: (params: import("../types").IFindSumoParams) => Promise<import("../types").IResult>;
|
|
120
120
|
selectSumoInOpenDrive: (params: import("../types").IFindSumoParams) => Promise<import("../types").IResult>;
|
|
121
121
|
unselectSumoInOpenDrive: (params?: import("../types").IUnselectSumoParams | undefined) => Promise<import("../types").IResult>;
|
|
122
|
+
selectComputableInOpenDrive: (params: import("../types").IFindSumoParams) => Promise<void | {
|
|
123
|
+
status: number;
|
|
124
|
+
message: string;
|
|
125
|
+
}>;
|
|
122
126
|
geometrySearchInOpenDrive: (params: any) => Promise<import("../types").IResult>;
|
|
123
127
|
getSumoInfo: (params: import("../types").IFindSumoParams) => Promise<import("../types").IResult>;
|
|
124
128
|
splitOpenDriveLane: (params: import("../types").ISplitOpenDriveLaneParams) => Promise<import("../types").IResult>;
|
|
@@ -126,6 +130,14 @@ export declare const GisMap: import("@easyest/utils/dist/lib/withinstall").SFCWi
|
|
|
126
130
|
status: number;
|
|
127
131
|
message: string;
|
|
128
132
|
}>;
|
|
133
|
+
blockOpenDriveLane: (params: import("../types").IBlockOpenDriveLaneParams) => Promise<void | {
|
|
134
|
+
status: number;
|
|
135
|
+
message: string;
|
|
136
|
+
}>;
|
|
137
|
+
clearBlockOpenDriveLane: () => void | {
|
|
138
|
+
status: number;
|
|
139
|
+
message: string;
|
|
140
|
+
};
|
|
129
141
|
showSignalControlArea: (params: import("../types").IShowSignalControlAreaParams) => Promise<import("../types").IResult>;
|
|
130
142
|
showDistrictArea: (params: import("../types").IShowSignalControlAreaParams) => Promise<void>;
|
|
131
143
|
showSubDistrictArea: (params: import("../types").IShowSignalControlAreaParams) => Promise<void>;
|