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.
@@ -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 mt, ref as _, reactive as pt, onMounted as dt, getCurrentInstance as gt, onUnmounted as ft, computed as yt, openBlock as T, createElementBlock as x, createElementVNode as y, withDirectives as wt, vShow as St, Fragment as Ct, renderList as vt, createBlock as ht } from "vue";
2
- import G, { registerStore as bt } from "./stores/index.mjs";
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 At from "./utils/dbscan-cluster/index.mjs";
5
- import Ot from "./utils/detect-gpu.mjs";
6
- import Dt from "./utils/edpass-device-controller.mjs";
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 kt from "./utils/holo-flow/index.mjs";
9
- import Lt from "./utils/holo-flow/signal-countdown-panel.vue.mjs";
10
- import Tt from "./utils/map-initializer.mjs";
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 It from "./utils/police-jurisdiction.mjs";
14
- import Mt from "./utils/queue-length.mjs";
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 Bt from "./utils/signal-control-area/edit-area.mjs";
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 Pt from "./utils/traffic-flow.mjs";
19
- const Vt = { class: "gis-viewer" }, zt = { style: { position: "absolute", bottom: "80px", left: "10px", "z-index": "9999" } }, Yt = /* @__PURE__ */ mt({
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 A = _(!1);
30
- bt();
31
- const M = G.useAppDataStore, B = pt([]), P = (e) => Math.log2(591657527591555e-6 / e);
32
- let S = null, V = null;
33
- const O = (e) => {
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, C("update:zoom", u));
37
+ u !== V && (V = u, S("update:zoom", u));
38
38
  };
39
- Ot(), dt(async () => {
39
+ Lt(), yt(async () => {
40
40
  if (!h.value)
41
41
  return;
42
42
  document.addEventListener("keydown", (m) => {
43
- m.ctrlKey && m.key === "i" && (A.value = !A.value);
43
+ m.ctrlKey && m.key === "i" && (O.value = !O.value);
44
44
  });
45
- const e = gt(), { $gisviewerAssetsRoot: u } = e.appContext.config.globalProperties, i = await (await fetch(z.config)).json();
46
- i.assetsRoot = z.assetsRoot || u, M.mapConfig = i, p = new Tt(), M.mapInitializer = p, n = await p.initialize({
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, ut) => {
50
- C("markerClick", m, k, L, ut);
49
+ markerClickCallback: (m, k, L, dt) => {
50
+ S("markerClick", m, k, L, dt);
51
51
  },
52
52
  mapClickCallback: (m, k, L) => {
53
- C("mapClick", m, k, L);
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" && O(v);
58
- const lt = n.zoom !== void 0 ? n.watch("zoom", (m) => {
59
- O(m);
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 && O(P(m));
61
+ typeof m == "number" && m > 0 && A(P(m));
62
62
  });
63
- S = () => lt.remove(), r = new kt(n, B), await r.init(), C("mapLoaded");
64
- }), ft(() => {
65
- a == null || a.clearSignalControlArea(), t == null || t.clearOpenDrive(), r.clearHoloTrace(), r.clearHoloSignal(), o == null || o.disconnectTrafficFlow(), S == null || S(), S = null;
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 = yt(() => n), U = () => {
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), R = async (e) => await p.setMapCamera(e), X = (e) => p.setMapZoom(e), Y = async (e) => await p.lookAt(e), ee = (e) => p.setLayerVisibility(e), te = (e, u) => p.requestCoordinateTransform(e, u), ne = (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 Pt(n)), o.connectTrafficFlow(e, u);
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 At(n)), f.addClusterPoints(e)), Ae = () => {
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
- }, Oe = (e) => (s || (s = new N(n)), s.addMask(e)), De = () => {
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
- }, Me = (e) => {
116
- g || (g = new Mt(n)), g.updateQueueLength(e);
117
- }, Be = () => {
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 ? await t.geometrySearch(e) : {
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
- }, Ne = async (e) => t ? await t.getSumoInfo(e) : {
143
+ }, Qe = async () => t ? t == null ? void 0 : t.clearSplitLane() : {
135
144
  status: -1,
136
145
  message: "未加载OpenDrive地图"
137
- }, We = async (e) => t ? await (t == null ? void 0 : t.splitLane(e)) : {
146
+ }, je = async (e) => t ? t == null ? void 0 : t.blockLane(e) : {
138
147
  status: -1,
139
148
  message: "未加载OpenDrive地图"
140
- }, Ze = async () => t ? t == null ? void 0 : t.clearSplitLane() : {
149
+ }, Je = () => t ? t == null ? void 0 : t.clearSplitLane() : {
141
150
  status: -1,
142
151
  message: "未加载OpenDrive地图"
143
- }, Qe = async (e) => (a || (a = new I(n)), await a.showSignalControlArea(e)), je = async (e) => (a || (a = new I(n)), await a.showDistrict(e)), Je = async (e) => (a || (a = new I(n)), await a.showSubDistrict(e)), Ue = async () => await (a == null ? void 0 : a.clearSignalControlArea()), $e = (e) => a == null ? void 0 : a.setLayerVisibility(e), qe = async (e) => a ? await (a == null ? void 0 : a.locateSignalControlArea(e)) : { status: -1, message: "未加载信号控制区" }, Ke = async (e) => a ? await a.highlightSignalControlArea(e) : { status: -1, message: "未加载信号控制区" }, Fe = () => a ? a.resetHighlight() : { status: -1, message: "未加载信号控制区" }, Re = (e) => (l || (l = new Bt(n)), l.showSubSignalControlArea(e)), Xe = (e) => l ? l.editSubSignalControlArea(e) : { status: -1, message: "未加载信号控制区" }, Ye = () => l ? l.stopEditSubSignalControlArea() : { status: -1, message: "未加载信号控制区" }, et = (e) => l ? l.selectSubSignalControlAreaCross(e) : { status: -1, message: "未加载信号控制区" }, tt = (e) => l ? l.unselectSubSignalControlAreaCross(e) : { status: -1, message: "未加载信号控制区" }, nt = (e) => {
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
- }, at = (e) => (d || (d = new H(n)), d.addGreenWaveBand(e)), rt = () => {
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
- }, st = async (e) => (d || (d = new H(n)), await d.showGreenWaveBand(e)), ot = async (e) => (w || (w = new It(n)), await w.showJurisdiction(e)), it = () => {
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
- }, ct = async (e) => (b || (b = new Dt(n)), await b.setEdpassLayerVisibility(e)), z = Z, C = j;
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: Y,
160
- setMapCamera: R,
161
- setMapZoom: X,
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: Ae,
168
- addMask: Oe,
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: Se,
197
+ toggleTrafficInfo: Ce,
189
198
  toggleTrafficObject: ve,
190
199
  toggleVehicleInfo: D,
191
- togglePause: Ce,
192
- updateQueueLength: Me,
193
- removeQueueLength: Be,
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: Ee,
207
+ geometrySearchInOpenDrive: Ne,
199
208
  findSumoInOpenDrive: xe,
200
209
  selectSumoInOpenDrive: Ge,
201
210
  unselectSumoInOpenDrive: He,
202
- getSumoInfo: Ne,
203
- splitOpenDriveLane: We,
204
- clearSplitOpenDriveLane: Ze,
205
- showSignalControlArea: Qe,
206
- showDistrictArea: je,
207
- showSubDistrictArea: Je,
208
- clearSignalControlArea: Ue,
209
- setSignalControlAreaVisibility: $e,
210
- locateSignalControlArea: qe,
211
- highlightSignalControlArea: Ke,
212
- resetHighlightSignalControlArea: Fe,
213
- showSubSignalControlArea: Re,
214
- editSubSignalControlArea: Xe,
215
- stopEditSubSignalControlArea: Ye,
216
- selectSubSignalControlAreaCross: et,
217
- unselectSubSignalControlAreaCross: tt,
218
- changeSubSignalControlAreaBorderVisibility: nt,
219
- addGreenWaveBand: at,
220
- stopAddGreenWaveBand: rt,
221
- showGreenWaveBand: st,
222
- showPoliceArea: ot,
223
- clearPoliceArea: it,
224
- setEdpassLayerVisibility: ct
225
- }), (e, u) => (T(), x("div", Vt, [
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
- wt(y("div", zt, [
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
- [St, A.value]
258
+ [ht, O.value]
247
259
  ])
248
260
  ], 512),
249
- (T(!0), x(Ct, null, vt(B, (i, v) => (T(), ht(Lt, {
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
- Yt as default
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>;
@@ -9,8 +9,8 @@ export default class DbscanCluster {
9
9
  constructor(view: __esri.MapView | __esri.SceneView);
10
10
  private zoomWatchHandle;
11
11
  private locations;
12
+ private clusteredLocations;
12
13
  private clusterMarkUrl;
13
- private currentZoom;
14
14
  /**
15
15
  * 将地理位置转换为屏幕坐标
16
16
  */