gisviewer-vue3-arcgis 1.0.143 → 1.0.145
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 +5 -17
- package/es/src/gis-map/gis-map.vue.mjs +109 -106
- package/es/src/gis-map/index.d.ts +5 -17
- package/es/src/gis-map/stores/appData.d.ts +1 -0
- package/es/src/gis-map/stores/appData.mjs +2 -1
- package/es/src/gis-map/utils/open-drive-renderer/index.d.ts +3 -0
- package/es/src/gis-map/utils/open-drive-renderer/index.mjs +258 -138
- package/es/src/gis-map/utils/signal-control-area-controller/index.mjs +19 -19
- package/es/src/gis-map/utils/sketchView.d.ts +1 -1
- package/es/src/gis-map/utils/sketchView.mjs +16 -11
- package/es/src/types/index.d.ts +2 -2
- package/es/style.css +1 -1
- package/lib/src/gis-map/gis-map.vue.d.ts +5 -17
- package/lib/src/gis-map/gis-map.vue.js +1 -1
- package/lib/src/gis-map/index.d.ts +5 -17
- package/lib/src/gis-map/stores/appData.d.ts +1 -0
- package/lib/src/gis-map/stores/appData.js +1 -1
- package/lib/src/gis-map/utils/open-drive-renderer/index.d.ts +3 -0
- package/lib/src/gis-map/utils/open-drive-renderer/index.js +1 -1
- package/lib/src/gis-map/utils/signal-control-area-controller/index.js +1 -1
- package/lib/src/gis-map/utils/sketchView.d.ts +1 -1
- package/lib/src/gis-map/utils/sketchView.js +1 -1
- package/lib/src/types/index.d.ts +2 -2
- package/package.json +2 -1
- package/es/_virtual/_plugin-vue_export-helper.mjs +0 -9
- package/es/src/gis-map/utils/components/sketch-tool.vue.d.ts +0 -18
- package/es/src/gis-map/utils/components/sketch-tool.vue.mjs +0 -7
- package/es/src/gis-map/utils/components/sketch-tool.vue2.mjs +0 -48
- package/es/src/gis-map/utils/components/sketch-tool.vue3.mjs +0 -4
- package/lib/_virtual/_plugin-vue_export-helper.js +0 -1
- package/lib/src/gis-map/utils/components/sketch-tool.vue.d.ts +0 -18
- package/lib/src/gis-map/utils/components/sketch-tool.vue.js +0 -1
- package/lib/src/gis-map/utils/components/sketch-tool.vue2.js +0 -1
- package/lib/src/gis-map/utils/components/sketch-tool.vue3.js +0 -1
|
@@ -30,7 +30,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
30
30
|
openDriveRenderer: OpenDriveRenderer;
|
|
31
31
|
signalControlAreaController: SignalControlAreaController;
|
|
32
32
|
showLogDiv: import("vue").Ref<boolean>;
|
|
33
|
-
showGroupSelect: import("vue").Ref<boolean>;
|
|
34
33
|
mapViewer: import("vue").ComputedRef<MapView | SceneView>;
|
|
35
34
|
startSaveTrackLog: () => void;
|
|
36
35
|
downloadTrackLog: () => void;
|
|
@@ -76,8 +75,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
76
75
|
findSumoInOpenDrive: (params: IFindSumoParams) => Promise<import("../types").IResult>;
|
|
77
76
|
selectSumoInOpenDrive: (params: IFindSumoParams) => Promise<import("../types").IResult>;
|
|
78
77
|
unselectSumoInOpenDrive: (params?: IUnselectSumoParams | undefined) => Promise<import("../types").IResult>;
|
|
78
|
+
geometrySearchInOpenDrive: (params: any) => Promise<import("../types").IResult>;
|
|
79
79
|
getSumoInfo: (params: IFindSumoParams) => Promise<import("../types").IResult>;
|
|
80
80
|
splitOpenDriveLane: (params: ISplitOpenDriveLaneParams) => Promise<import("../types").IResult>;
|
|
81
|
+
clearSplitOpenDriveLane: () => Promise<void | {
|
|
82
|
+
status: number;
|
|
83
|
+
message: string;
|
|
84
|
+
}>;
|
|
81
85
|
showSignalControlArea: (params: any) => import("../types").IResult;
|
|
82
86
|
clearSignalControlArea: () => void;
|
|
83
87
|
locateSignalControlArea: (params: {
|
|
@@ -89,22 +93,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
89
93
|
resetHighlightSignalControlArea: () => import("../types").IResult;
|
|
90
94
|
props: any;
|
|
91
95
|
emit: (event: "mapLoaded" | "markerClick" | "mapClick", ...args: any[]) => void;
|
|
92
|
-
sketchTool: import("vue").DefineComponent<{
|
|
93
|
-
view: {
|
|
94
|
-
type: null;
|
|
95
|
-
required: true;
|
|
96
|
-
};
|
|
97
|
-
}, {
|
|
98
|
-
props: any;
|
|
99
|
-
sketchVM: __esri.SketchViewModel;
|
|
100
|
-
resetButtonHandler: () => void;
|
|
101
|
-
geometrySelectionHandler: (event: any) => void;
|
|
102
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
103
|
-
view: {
|
|
104
|
-
type: null;
|
|
105
|
-
required: true;
|
|
106
|
-
};
|
|
107
|
-
}>>, {}, {}>;
|
|
108
96
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("mapLoaded" | "markerClick" | "mapClick")[], "mapLoaded" | "markerClick" | "mapClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
109
97
|
config: {
|
|
110
98
|
type: StringConstructor;
|
|
@@ -1,64 +1,63 @@
|
|
|
1
|
-
import { defineComponent as ke, ref as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as ke, ref as S, onMounted as Te, getCurrentInstance as De, onUnmounted as Le, computed as Ae, openBlock as Ie, createElementBlock as be, createElementVNode as p, withDirectives as _e, vShow as He } from "vue";
|
|
2
|
+
import O, { registerStore as xe } from "./stores/index.mjs";
|
|
3
3
|
import "./style/index.css";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
const Fe = { class: "gis-viewer" }, Re = { style: { position: "absolute", bottom: "10px", left: "10px" } }, at = /* @__PURE__ */ ke({
|
|
4
|
+
import Me from "./utils/holo-flow/index.mjs";
|
|
5
|
+
import Ve from "./utils/map-initializer.mjs";
|
|
6
|
+
import C from "./utils/open-drive-renderer/index.mjs";
|
|
7
|
+
import Be from "./utils/overlay.mjs";
|
|
8
|
+
import ze from "./utils/queue-length.mjs";
|
|
9
|
+
import k from "./utils/road-config-tool/index.mjs";
|
|
10
|
+
import Ne from "./utils/signal-control-area-controller/index.mjs";
|
|
11
|
+
import Qe from "./utils/traffic-flow.mjs";
|
|
12
|
+
const je = { class: "gis-viewer" }, Pe = { style: { position: "absolute", bottom: "10px", left: "10px" } }, Xe = /* @__PURE__ */ ke({
|
|
14
13
|
__name: "gis-map",
|
|
15
14
|
props: {
|
|
16
15
|
config: {},
|
|
17
16
|
assetsRoot: {}
|
|
18
17
|
},
|
|
19
18
|
emits: ["mapLoaded", "markerClick", "mapClick"],
|
|
20
|
-
setup(
|
|
21
|
-
const g =
|
|
22
|
-
let
|
|
23
|
-
const f =
|
|
19
|
+
setup(T, { expose: D, emit: L }) {
|
|
20
|
+
const g = S(null);
|
|
21
|
+
let i, c, s, n, a, r, u, t, o;
|
|
22
|
+
const f = S(!1);
|
|
24
23
|
Te(async () => {
|
|
25
|
-
if (
|
|
24
|
+
if (xe(), !g.value)
|
|
26
25
|
return;
|
|
27
26
|
document.addEventListener("keydown", (m) => {
|
|
28
27
|
m.ctrlKey && m.key === "i" && (f.value = !f.value);
|
|
29
28
|
});
|
|
30
|
-
const e =
|
|
31
|
-
|
|
32
|
-
const
|
|
33
|
-
|
|
29
|
+
const e = De(), { $gisviewerAssetsRoot: l } = e.appContext.config.globalProperties, h = await (await fetch(d.config)).json();
|
|
30
|
+
h.assetsRoot = d.assetsRoot || l;
|
|
31
|
+
const Oe = O.useAppDataStore;
|
|
32
|
+
Oe.mapConfig = h, c = new Ve(), i = await c.initialize({
|
|
34
33
|
container: g.value,
|
|
35
|
-
markerClickCallback: (m,
|
|
36
|
-
|
|
34
|
+
markerClickCallback: (m, y, v, Ce) => {
|
|
35
|
+
w("markerClick", m, y, v, Ce);
|
|
37
36
|
},
|
|
38
|
-
mapClickCallback: (m,
|
|
39
|
-
|
|
37
|
+
mapClickCallback: (m, y, v) => {
|
|
38
|
+
w("mapClick", m, y, v);
|
|
40
39
|
}
|
|
41
|
-
}), a = new
|
|
42
|
-
}),
|
|
40
|
+
}), a = new Me(i), await a.init(), w("mapLoaded");
|
|
41
|
+
}), Le(() => {
|
|
43
42
|
o == null || o.clearSignalControlArea(), t == null || t.clearOpenDrive(), a == null || a.clearHoloTrace(), a == null || a.clearHoloSignal(), n == null || n.disconnectTrafficFlow();
|
|
44
43
|
});
|
|
45
|
-
const
|
|
46
|
-
const e =
|
|
44
|
+
const A = Ae(() => i), I = () => {
|
|
45
|
+
const e = O.useAppDataStore;
|
|
47
46
|
e.saveTrackLog = !0;
|
|
48
|
-
},
|
|
47
|
+
}, b = () => {
|
|
49
48
|
a.downloadTrackLog();
|
|
50
|
-
},
|
|
49
|
+
}, _ = async (e) => await c.setMapCenter(e), H = async (e) => await c.setMapCamera(e), x = async (e) => await c.lookAt(e), M = (e) => c.setLayerVisibility(e), V = (e, l) => c.requestCoordinateTransform(e, l), B = (e) => {
|
|
51
50
|
c.cancelCoordinateTransform(e);
|
|
52
|
-
},
|
|
51
|
+
}, z = (e) => {
|
|
53
52
|
c.setMapZoomRange(e);
|
|
54
|
-
},
|
|
55
|
-
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
n || (n = new
|
|
59
|
-
},
|
|
53
|
+
}, N = (e) => (s || (s = new k(i)), s.showLaneNumber(e)), Q = () => {
|
|
54
|
+
s == null || s.clearLaneNumber();
|
|
55
|
+
}, j = async (e) => (s || (s = new k(i)), await s.initializeSearch(e)), P = async () => s == null ? void 0 : s.calCrossIndicatorArea(), E = async () => {
|
|
56
|
+
}, F = async (e, l) => {
|
|
57
|
+
n || (n = new Qe(i)), n.connectTrafficFlow(e, l);
|
|
58
|
+
}, Z = () => {
|
|
60
59
|
n == null || n.disconnectTrafficFlow();
|
|
61
|
-
},
|
|
60
|
+
}, q = (e) => {
|
|
62
61
|
a.handleVehicleTraceData(e);
|
|
63
62
|
}, K = () => {
|
|
64
63
|
a.clearHoloTrace();
|
|
@@ -66,108 +65,112 @@ const Fe = { class: "gis-viewer" }, Re = { style: { position: "absolute", bottom
|
|
|
66
65
|
a.setInterpolate(e);
|
|
67
66
|
}, $ = async (e) => {
|
|
68
67
|
await a.handleSignalData(e);
|
|
69
|
-
},
|
|
68
|
+
}, G = () => {
|
|
70
69
|
a.clearHoloSignal();
|
|
71
|
-
},
|
|
70
|
+
}, J = (e) => {
|
|
72
71
|
n == null || n.toggleTrafficInfo(e), a.toggleTrafficInfo(e);
|
|
73
|
-
},
|
|
72
|
+
}, R = (e) => {
|
|
74
73
|
a.togglePause(e);
|
|
75
|
-
},
|
|
74
|
+
}, W = (e) => {
|
|
76
75
|
n == null || n.toggleTrafficObject(e), a.toggleTrafficObject(e);
|
|
77
|
-
},
|
|
76
|
+
}, X = (e) => {
|
|
78
77
|
a.updatePanelContent(e);
|
|
79
|
-
},
|
|
78
|
+
}, Y = async (e) => (r || (r = new Be(i)), r.addOverlays(e)), ee = (e) => r == null ? void 0 : r.removeOverlaysByType(e), te = (e) => r == null ? void 0 : r.removeOverlaysById(e), ae = () => r == null ? void 0 : r.removeAllOverlays(), ne = () => {
|
|
80
79
|
r == null || r.showAllOverlays();
|
|
81
|
-
},
|
|
82
|
-
u || (u = new
|
|
83
|
-
},
|
|
80
|
+
}, re = (e) => {
|
|
81
|
+
u || (u = new ze(i)), u.updateQueueLength(e);
|
|
82
|
+
}, oe = () => {
|
|
84
83
|
u == null || u.removeQueueLength();
|
|
85
|
-
},
|
|
84
|
+
}, se = async (e, l) => (t || (t = new C(i)), await t.showOpenDriveFromServer(e, l)), ie = async (e) => (t || (t = new C(i)), await t.clearOpenDrive(), await t.showOpenDriveFromFile(e)), ce = async () => await (t == null ? void 0 : t.clearOpenDrive()), le = async (e) => t ? await (t == null ? void 0 : t.findSumo(e)) : {
|
|
85
|
+
status: -1,
|
|
86
|
+
message: "未加载OpenDrive地图"
|
|
87
|
+
}, ue = async (e) => t ? t.selectSumo(e) : {
|
|
88
|
+
status: -1,
|
|
89
|
+
message: "未加载OpenDrive地图"
|
|
90
|
+
}, me = async (e) => t ? t.unselectSumo(e) : {
|
|
86
91
|
status: -1,
|
|
87
92
|
message: "未加载OpenDrive地图"
|
|
88
|
-
}, pe = async (e) => t ? t.
|
|
93
|
+
}, pe = async (e) => t ? await t.geometrySearch(e) : {
|
|
89
94
|
status: -1,
|
|
90
95
|
message: "未加载OpenDrive地图"
|
|
91
|
-
}, ge = async (e) => t ? t.
|
|
96
|
+
}, ge = async (e) => t ? await t.getSumoInfo(e) : {
|
|
92
97
|
status: -1,
|
|
93
98
|
message: "未加载OpenDrive地图"
|
|
94
|
-
}, fe = async (e) => t ? await t.
|
|
99
|
+
}, fe = async (e) => t ? await (t == null ? void 0 : t.splitLane(e)) : {
|
|
95
100
|
status: -1,
|
|
96
101
|
message: "未加载OpenDrive地图"
|
|
97
|
-
}, we = async (
|
|
102
|
+
}, we = async () => t ? t == null ? void 0 : t.clearSplitLane() : {
|
|
98
103
|
status: -1,
|
|
99
104
|
message: "未加载OpenDrive地图"
|
|
100
|
-
},
|
|
105
|
+
}, ye = (e) => (o || (o = new Ne(i)), o.showSignalControlArea(e)), ve = () => {
|
|
101
106
|
o == null || o.clearSignalControlArea();
|
|
102
|
-
},
|
|
103
|
-
return
|
|
104
|
-
mapViewer:
|
|
105
|
-
setLayerVisibility:
|
|
106
|
-
setMapCenter:
|
|
107
|
-
lookAt:
|
|
108
|
-
setMapCamera:
|
|
109
|
-
setMapZoomRange:
|
|
110
|
-
requestCoordinateTransform:
|
|
111
|
-
cancelCoordinateTransform:
|
|
112
|
-
addOverlays:
|
|
113
|
-
showAllOverlays:
|
|
114
|
-
removeOverlaysByType:
|
|
115
|
-
removeOverlaysById:
|
|
116
|
-
removeAllOverlays:
|
|
117
|
-
showLaneNumber:
|
|
118
|
-
clearLaneNumber:
|
|
119
|
-
initializeAreaTool:
|
|
120
|
-
calCrossIndicatorArea:
|
|
121
|
-
calRoadIndicatorArea:
|
|
122
|
-
connectCarFlow:
|
|
123
|
-
disconnectCarFlow:
|
|
124
|
-
handleHoloVehicleTraceData:
|
|
107
|
+
}, de = async (e) => o ? await o.locateSignalControlArea(e) : { status: -1, message: "未加载信号控制区" }, he = async (e) => o ? await o.highlightSignalControlArea(e) : { status: -1, message: "未加载信号控制区" }, Se = () => o ? o.resetHighlight() : { status: -1, message: "未加载信号控制区" }, d = T, w = L;
|
|
108
|
+
return D({
|
|
109
|
+
mapViewer: A,
|
|
110
|
+
setLayerVisibility: M,
|
|
111
|
+
setMapCenter: _,
|
|
112
|
+
lookAt: x,
|
|
113
|
+
setMapCamera: H,
|
|
114
|
+
setMapZoomRange: z,
|
|
115
|
+
requestCoordinateTransform: V,
|
|
116
|
+
cancelCoordinateTransform: B,
|
|
117
|
+
addOverlays: Y,
|
|
118
|
+
showAllOverlays: ne,
|
|
119
|
+
removeOverlaysByType: ee,
|
|
120
|
+
removeOverlaysById: te,
|
|
121
|
+
removeAllOverlays: ae,
|
|
122
|
+
showLaneNumber: N,
|
|
123
|
+
clearLaneNumber: Q,
|
|
124
|
+
initializeAreaTool: j,
|
|
125
|
+
calCrossIndicatorArea: P,
|
|
126
|
+
calRoadIndicatorArea: E,
|
|
127
|
+
connectCarFlow: F,
|
|
128
|
+
disconnectCarFlow: Z,
|
|
129
|
+
handleHoloVehicleTraceData: q,
|
|
125
130
|
clearHoloTrace: K,
|
|
126
131
|
handleHoloSignalData: $,
|
|
127
|
-
clearHoloSignal:
|
|
132
|
+
clearHoloSignal: G,
|
|
128
133
|
setInterpolate: U,
|
|
129
|
-
toggleTrafficInfo:
|
|
130
|
-
toggleTrafficObject:
|
|
131
|
-
toggleVehicleInfo:
|
|
132
|
-
togglePause:
|
|
133
|
-
updateQueueLength:
|
|
134
|
-
removeQueueLength:
|
|
135
|
-
showOpenDriveFromServer:
|
|
136
|
-
showOpenDriveFromFile:
|
|
137
|
-
clearOpenDrive:
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
134
|
+
toggleTrafficInfo: J,
|
|
135
|
+
toggleTrafficObject: W,
|
|
136
|
+
toggleVehicleInfo: X,
|
|
137
|
+
togglePause: R,
|
|
138
|
+
updateQueueLength: re,
|
|
139
|
+
removeQueueLength: oe,
|
|
140
|
+
showOpenDriveFromServer: se,
|
|
141
|
+
showOpenDriveFromFile: ie,
|
|
142
|
+
clearOpenDrive: ce,
|
|
143
|
+
geometrySearchInOpenDrive: pe,
|
|
144
|
+
findSumoInOpenDrive: le,
|
|
145
|
+
selectSumoInOpenDrive: ue,
|
|
146
|
+
unselectSumoInOpenDrive: me,
|
|
147
|
+
getSumoInfo: ge,
|
|
148
|
+
splitOpenDriveLane: fe,
|
|
149
|
+
clearSplitOpenDriveLane: we,
|
|
150
|
+
showSignalControlArea: ye,
|
|
151
|
+
clearSignalControlArea: ve,
|
|
152
|
+
locateSignalControlArea: de,
|
|
146
153
|
highlightSignalControlArea: he,
|
|
147
154
|
resetHighlightSignalControlArea: Se
|
|
148
|
-
}), (e, l) => (
|
|
155
|
+
}), (e, l) => (Ie(), be("div", je, [
|
|
149
156
|
p("div", {
|
|
150
157
|
class: "gis-viewer-main",
|
|
151
158
|
ref_key: "mapContainer",
|
|
152
159
|
ref: g
|
|
153
160
|
}, [
|
|
154
|
-
|
|
161
|
+
_e(p("div", Pe, [
|
|
155
162
|
p("button", {
|
|
156
163
|
style: { "margin-right": "10px" },
|
|
157
|
-
onClick:
|
|
164
|
+
onClick: I
|
|
158
165
|
}, " 开始记录 "),
|
|
159
|
-
p("button", { onClick:
|
|
166
|
+
p("button", { onClick: b }, "下载日志")
|
|
160
167
|
], 512), [
|
|
161
|
-
[
|
|
162
|
-
])
|
|
163
|
-
w.value ? (O(), He(Be, {
|
|
164
|
-
key: 0,
|
|
165
|
-
view: xe(s)
|
|
166
|
-
}, null, 8, ["view"])) : Me("", !0)
|
|
168
|
+
[He, f.value]
|
|
169
|
+
])
|
|
167
170
|
], 512)
|
|
168
171
|
]));
|
|
169
172
|
}
|
|
170
173
|
});
|
|
171
174
|
export {
|
|
172
|
-
|
|
175
|
+
Xe as default
|
|
173
176
|
};
|
|
@@ -19,7 +19,6 @@ export declare const GisMap: import("@easyest/utils/dist/lib/withinstall").SFCWi
|
|
|
19
19
|
openDriveRenderer: import("./utils/open-drive-renderer").default;
|
|
20
20
|
signalControlAreaController: import("./utils/signal-control-area-controller").default;
|
|
21
21
|
showLogDiv: import("vue").Ref<boolean>;
|
|
22
|
-
showGroupSelect: import("vue").Ref<boolean>;
|
|
23
22
|
mapViewer: import("vue").ComputedRef<__esri.MapView | __esri.SceneView>;
|
|
24
23
|
startSaveTrackLog: () => void;
|
|
25
24
|
downloadTrackLog: () => void;
|
|
@@ -65,8 +64,13 @@ export declare const GisMap: import("@easyest/utils/dist/lib/withinstall").SFCWi
|
|
|
65
64
|
findSumoInOpenDrive: (params: import("../types").IFindSumoParams) => Promise<import("../types").IResult>;
|
|
66
65
|
selectSumoInOpenDrive: (params: import("../types").IFindSumoParams) => Promise<import("../types").IResult>;
|
|
67
66
|
unselectSumoInOpenDrive: (params?: import("../types").IUnselectSumoParams | undefined) => Promise<import("../types").IResult>;
|
|
67
|
+
geometrySearchInOpenDrive: (params: any) => Promise<import("../types").IResult>;
|
|
68
68
|
getSumoInfo: (params: import("../types").IFindSumoParams) => Promise<import("../types").IResult>;
|
|
69
69
|
splitOpenDriveLane: (params: import("../types").ISplitOpenDriveLaneParams) => Promise<import("../types").IResult>;
|
|
70
|
+
clearSplitOpenDriveLane: () => Promise<void | {
|
|
71
|
+
status: number;
|
|
72
|
+
message: string;
|
|
73
|
+
}>;
|
|
70
74
|
showSignalControlArea: (params: any) => import("../types").IResult;
|
|
71
75
|
clearSignalControlArea: () => void;
|
|
72
76
|
locateSignalControlArea: (params: {
|
|
@@ -78,22 +82,6 @@ export declare const GisMap: import("@easyest/utils/dist/lib/withinstall").SFCWi
|
|
|
78
82
|
resetHighlightSignalControlArea: () => import("../types").IResult;
|
|
79
83
|
props: any;
|
|
80
84
|
emit: (event: "mapLoaded" | "markerClick" | "mapClick", ...args: any[]) => void;
|
|
81
|
-
sketchTool: import("vue").DefineComponent<{
|
|
82
|
-
view: {
|
|
83
|
-
type: null;
|
|
84
|
-
required: true;
|
|
85
|
-
};
|
|
86
|
-
}, {
|
|
87
|
-
props: any;
|
|
88
|
-
sketchVM: __esri.SketchViewModel;
|
|
89
|
-
resetButtonHandler: () => void;
|
|
90
|
-
geometrySelectionHandler: (event: any) => void;
|
|
91
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
92
|
-
view: {
|
|
93
|
-
type: null;
|
|
94
|
-
required: true;
|
|
95
|
-
};
|
|
96
|
-
}>>, {}, {}>;
|
|
97
85
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("mapLoaded" | "markerClick" | "mapClick")[], "mapLoaded" | "markerClick" | "mapClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
98
86
|
config: {
|
|
99
87
|
type: StringConstructor;
|
|
@@ -10,6 +10,7 @@ export default class OpenDriveRenderer {
|
|
|
10
10
|
private highlightLayer;
|
|
11
11
|
private flashLayer;
|
|
12
12
|
private drawLayer;
|
|
13
|
+
private splitLaneLayer;
|
|
13
14
|
private allLaneGraphics;
|
|
14
15
|
private allRefLineGraphics;
|
|
15
16
|
private mouseMoveHandler;
|
|
@@ -105,5 +106,7 @@ export default class OpenDriveRenderer {
|
|
|
105
106
|
* @returns
|
|
106
107
|
*/
|
|
107
108
|
selectSumo(params: IFindSumoParams): IResult;
|
|
109
|
+
geometrySearch(coordinate: number[][]): Promise<IResult>;
|
|
108
110
|
splitLane(params: ISplitOpenDriveLaneParams): Promise<IResult>;
|
|
111
|
+
clearSplitLane(): void;
|
|
109
112
|
}
|