gisviewer-vue3-arcgis 1.0.235 → 1.0.237

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.
Files changed (31) hide show
  1. package/es/src/gis-map/utils/common-utils.d.ts +2 -0
  2. package/es/src/gis-map/utils/common-utils.mjs +37 -23
  3. package/es/src/gis-map/utils/detect-gpu.mjs +4 -4
  4. package/es/src/gis-map/utils/signal-control-area/district-controller.d.ts +2 -0
  5. package/es/src/gis-map/utils/signal-control-area/district-controller.mjs +42 -26
  6. package/es/src/gis-map/utils/signal-control-area/district-renderer.d.ts +1 -2
  7. package/es/src/gis-map/utils/signal-control-area/district-renderer.mjs +19 -24
  8. package/es/src/gis-map/utils/signal-control-area/layer-symbol.mjs +30 -34
  9. package/es/src/gis-map/utils/signal-control-area/show-area.d.ts +0 -7
  10. package/es/src/gis-map/utils/signal-control-area/show-area.mjs +39 -72
  11. package/es/src/gis-map/utils/signal-control-area/signal-renderer.d.ts +3 -4
  12. package/es/src/gis-map/utils/signal-control-area/signal-renderer.mjs +36 -37
  13. package/es/src/gis-map/utils/signal-control-area/sub-district-renderer.d.ts +13 -6
  14. package/es/src/gis-map/utils/signal-control-area/sub-district-renderer.mjs +95 -107
  15. package/es/src/types/index.d.ts +6 -0
  16. package/lib/src/gis-map/utils/common-utils.d.ts +2 -0
  17. package/lib/src/gis-map/utils/common-utils.js +1 -1
  18. package/lib/src/gis-map/utils/detect-gpu.js +1 -1
  19. package/lib/src/gis-map/utils/signal-control-area/district-controller.d.ts +2 -0
  20. package/lib/src/gis-map/utils/signal-control-area/district-controller.js +1 -1
  21. package/lib/src/gis-map/utils/signal-control-area/district-renderer.d.ts +1 -2
  22. package/lib/src/gis-map/utils/signal-control-area/district-renderer.js +1 -1
  23. package/lib/src/gis-map/utils/signal-control-area/layer-symbol.js +1 -1
  24. package/lib/src/gis-map/utils/signal-control-area/show-area.d.ts +0 -7
  25. package/lib/src/gis-map/utils/signal-control-area/show-area.js +1 -1
  26. package/lib/src/gis-map/utils/signal-control-area/signal-renderer.d.ts +3 -4
  27. package/lib/src/gis-map/utils/signal-control-area/signal-renderer.js +1 -1
  28. package/lib/src/gis-map/utils/signal-control-area/sub-district-renderer.d.ts +13 -6
  29. package/lib/src/gis-map/utils/signal-control-area/sub-district-renderer.js +1 -1
  30. package/lib/src/types/index.d.ts +6 -0
  31. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
1
  import { Point, Polygon, Polyline } from '@arcgis/core/geometry';
2
+ import Graphic from '@arcgis/core/Graphic';
2
3
  import * as turf from '@turf/helpers';
3
4
  export default class CommonUtils {
4
5
  /**
@@ -89,4 +90,5 @@ export default class CommonUtils {
89
90
  * @returns
90
91
  */
91
92
  static getCenterPointInLine(line: number[][]): number[];
93
+ static viewGoto(view: __esri.MapView | __esri.SceneView, target: Graphic[]): Promise<void>;
92
94
  }
@@ -1,13 +1,13 @@
1
- import { Point as L, Polyline as f } from "@arcgis/core/geometry";
2
- import * as g from "@arcgis/core/geometry/geometryEngineAsync";
1
+ import { Point as L, Polyline as g } from "@arcgis/core/geometry";
2
+ import * as f from "@arcgis/core/geometry/geometryEngineAsync";
3
3
  import * as l from "@arcgis/core/geometry/support/webMercatorUtils";
4
4
  import p from "@turf/bearing";
5
5
  import u from "@turf/destination";
6
- import * as a from "@turf/helpers";
6
+ import * as c from "@turf/helpers";
7
7
  import d from "@turf/length";
8
8
  import O from "@turf/line-slice-along";
9
9
  import w from "pako";
10
- import y from "proj4";
10
+ import h from "proj4";
11
11
  class s {
12
12
  /**
13
13
  * 得到某个点在一定方向、距离之外的另一个点
@@ -17,7 +17,7 @@ class s {
17
17
  * @returns
18
18
  */
19
19
  static destinationWithPoint(t, e, n) {
20
- const r = a.point([t.x, t.y]), i = u(r, n, e, {
20
+ const r = c.point([t.x, t.y]), i = u(r, n, e, {
21
21
  units: "meters"
22
22
  });
23
23
  return new L({
@@ -31,7 +31,7 @@ class s {
31
31
  * @returns
32
32
  */
33
33
  static angleOfLine(t) {
34
- const e = t.paths[0], n = a.point(e[0]), r = a.point(e[e.length - 1]);
34
+ const e = t.paths[0], n = c.point(e[0]), r = c.point(e[e.length - 1]);
35
35
  return p(n, r);
36
36
  }
37
37
  /**
@@ -40,14 +40,14 @@ class s {
40
40
  * @param distance
41
41
  */
42
42
  static extendLineInTowDir(t, e) {
43
- const n = t.paths[0], r = a.point(n[0]), i = a.point(n[1]), o = p(i, r), c = u(r, e, o, {
43
+ const n = t.paths[0], r = c.point(n[0]), i = c.point(n[1]), o = p(i, r), a = u(r, e, o, {
44
44
  units: "meters"
45
- }), h = o > 0 ? o - 180 : o + 180, P = u(i, e, h, {
45
+ }), y = o > 0 ? o - 180 : o + 180, P = u(i, e, y, {
46
46
  units: "meters"
47
47
  });
48
- return new f({
48
+ return new g({
49
49
  paths: [
50
- [c.geometry.coordinates, P.geometry.coordinates]
50
+ [a.geometry.coordinates, P.geometry.coordinates]
51
51
  ]
52
52
  });
53
53
  }
@@ -58,7 +58,7 @@ class s {
58
58
  * @returns
59
59
  */
60
60
  static async getIntersectPointOfTwoLines(t, e) {
61
- const n = await g.intersectLinesToPoints(
61
+ const n = await f.intersectLinesToPoints(
62
62
  t,
63
63
  e
64
64
  );
@@ -84,7 +84,7 @@ class s {
84
84
  e,
85
85
  i
86
86
  ), await s.pointDistance(r) > 2.5) {
87
- const o = new f({ paths: [r] });
87
+ const o = new g({ paths: [r] });
88
88
  return (await s.getOffsetLine(
89
89
  o,
90
90
  -i
@@ -102,8 +102,8 @@ class s {
102
102
  static async pointDistance(t) {
103
103
  if (t.length < 2)
104
104
  return 0;
105
- const e = new f({ paths: [t] });
106
- return await g.geodesicLength(e, "meters");
105
+ const e = new g({ paths: [t] });
106
+ return await f.geodesicLength(e, "meters");
107
107
  }
108
108
  /**
109
109
  * 线按一定距离平移之后,与面相交的两个端点
@@ -114,10 +114,10 @@ class s {
114
114
  */
115
115
  static async getIntersectPointOfLineAndPolygon(t, e, n = 0) {
116
116
  n !== 0 && (t = await s.getOffsetLine(t, n));
117
- const r = await g.intersect(t, e);
118
- if (r instanceof f) {
119
- const i = r.paths[0], o = i[0], c = i[i.length - 1];
120
- return [o, c];
117
+ const r = await f.intersect(t, e);
118
+ if (r instanceof g) {
119
+ const i = r.paths[0], o = i[0], a = i[i.length - 1];
120
+ return [o, a];
121
121
  }
122
122
  return [];
123
123
  }
@@ -128,7 +128,7 @@ class s {
128
128
  * @returns 平移后的polyline
129
129
  */
130
130
  static async getOffsetLine(t, e) {
131
- const n = l.geographicToWebMercator(t), r = await g.offset(
131
+ const n = l.geographicToWebMercator(t), r = await f.offset(
132
132
  n,
133
133
  e,
134
134
  "meters"
@@ -185,7 +185,7 @@ class s {
185
185
  static transformLineProjection(t) {
186
186
  try {
187
187
  return t.map(
188
- (e) => y(s.geoReference).inverse([
188
+ (e) => h(s.geoReference).inverse([
189
189
  e[0] - s.xOffset,
190
190
  e[1] - s.yOffset
191
191
  ])
@@ -199,7 +199,7 @@ class s {
199
199
  }
200
200
  static transformPointProjection(t) {
201
201
  try {
202
- return y(s.geoReference).inverse([
202
+ return h(s.geoReference).inverse([
203
203
  t[0] - s.xOffset,
204
204
  t[1] - s.yOffset
205
205
  ]);
@@ -214,7 +214,7 @@ class s {
214
214
  return Math.abs(t[0] - e[0]) < Number.EPSILON && Math.abs(t[1] - e[1]) < Number.EPSILON;
215
215
  }
216
216
  static getExtensionLine(t, e, n) {
217
- const r = a.point(t), i = a.point(e), o = p(r, i);
217
+ const r = c.point(t), i = c.point(e), o = p(r, i);
218
218
  return u(i, n, o, { units: "meters" }).geometry.coordinates;
219
219
  }
220
220
  static isCoordinateValid(t) {
@@ -226,11 +226,25 @@ class s {
226
226
  * @returns
227
227
  */
228
228
  static getCenterPointInLine(t) {
229
- const e = a.lineString(t), n = d(e, { units: "meters" }) / 2, r = O(e, 0, n, {
229
+ const e = c.lineString(t), n = d(e, { units: "meters" }) / 2, r = O(e, 0, n, {
230
230
  units: "meters"
231
231
  });
232
232
  return r.geometry.coordinates[r.geometry.coordinates.length - 1];
233
233
  }
234
+ static async viewGoto(t, e) {
235
+ var i;
236
+ if (localStorage.getItem("gpu") !== "Unknown")
237
+ await t.goTo(e, {
238
+ duration: 1e3
239
+ });
240
+ else if (e.length > 0) {
241
+ const o = e.map((a) => a.geometry).filter((a) => a);
242
+ if (o.length > 0) {
243
+ const a = (i = await f.union(o)) == null ? void 0 : i.extent;
244
+ a && (t.extent = a);
245
+ }
246
+ }
247
+ }
234
248
  }
235
249
  export {
236
250
  s as default
@@ -35,10 +35,10 @@ const s = (e) => {
35
35
  return "Unknown";
36
36
  }
37
37
  return i(e);
38
- }, u = () => {
39
- const e = l();
40
- return console.log("GPU:", e), localStorage.setItem("gpu", e), e;
38
+ }, a = () => {
39
+ let e = l();
40
+ return console.log("GPU:", e), (!e.toLowerCase().includes("nvidia") && !e.toLowerCase().includes("amd") && !e.toLowerCase().includes("intel") || e.toLowerCase().includes("520") || e.toLowerCase().includes("swiftshader")) && (console.log("GPU is not supported or unknown:", e), e = "Unknown"), localStorage.setItem("gpu", e), e;
41
41
  };
42
42
  export {
43
- u as default
43
+ a as default
44
44
  };
@@ -1,3 +1,4 @@
1
+ import { IDistrictRoad } from 'packages/components/src/types';
1
2
  interface ICross {
2
3
  id: string;
3
4
  name: string;
@@ -18,6 +19,7 @@ export default class DistrictController {
18
19
  areaColor: [number, number, number];
19
20
  signalCount: number;
20
21
  subDistrictCount: number;
22
+ roadConnections: IDistrictRoad[];
21
23
  constructor(params: any, style: string);
22
24
  /**
23
25
  * 获取区控/子区下的所有信号机
@@ -1,12 +1,28 @@
1
- import e from "../common-utils.mjs";
2
- class r {
3
- constructor(s, o) {
4
- this.parentName = "", this.signals = [], this.subDistricts = [], this.areaColor = this.getDarkNonGrayColor(), this.signalCount = 0, this.subDistrictCount = 0, this.id = s.name, this.name = s.areaDesc, this.parentId = s.parentId, o === "alarm" && (this.areaColor = [255, 0, 0]);
5
- for (const t of s.children)
1
+ import h from "pako";
2
+ import c from "../common-utils.mjs";
3
+ class e {
4
+ constructor(o, s) {
5
+ this.parentName = "", this.signals = [], this.subDistricts = [], this.areaColor = this.getDarkNonGrayColor(), this.signalCount = 0, this.subDistrictCount = 0, this.roadConnections = [], this.id = o.name, this.name = o.areaDesc, this.parentId = o.parentId, s === "alarm" && (this.areaColor = [255, 0, 0]);
6
+ for (const t of o.children)
6
7
  if (t.children) {
7
- const i = new r(t, o);
8
- i.id = t.id, i.name = `SS ${t.name}`, i.parentId = this.id, i.parentName = this.name, i.areaColor = this.getDarkNonGrayColor(t.id), this.subDistricts.push(i), this.subDistrictCount++, this.signalCount += i.signalCount;
9
- } else if (e.isCoordinateValid(t)) {
8
+ const i = new e(t, s);
9
+ if (i.id = t.id, i.name = `SS ${t.name}`, i.parentId = this.id, i.parentName = this.name, i.areaColor = this.getDarkNonGrayColor(t.id), this.subDistricts.push(i), this.subDistrictCount++, this.signalCount += i.signalCount, t.mapConnectList)
10
+ try {
11
+ const a = t.mapConnectList, n = new Uint8Array(
12
+ window.atob(a).split("").map((r) => r.charCodeAt(0))
13
+ ), l = h.inflate(n, { to: "string" }), d = JSON.parse(l);
14
+ i.roadConnections.push(
15
+ ...d.map((r) => ({
16
+ id: r.roadsectId,
17
+ coordinates: JSON.parse(r.geomData).coordinates,
18
+ districtId: i.parentId,
19
+ subDistrictId: i.id
20
+ }))
21
+ ), console.log(i.roadConnections);
22
+ } catch (a) {
23
+ console.error("解压子区路段连接信息失败:", a);
24
+ }
25
+ } else if (c.isCoordinateValid(t)) {
10
26
  const i = {
11
27
  id: t.id,
12
28
  name: t.name,
@@ -25,29 +41,29 @@ class r {
25
41
  * @returns
26
42
  */
27
43
  getAllSignalCoordinates() {
28
- const s = [];
29
- for (const o of this.signals)
30
- s.push([o.longitude, o.latitude]);
31
- for (const o of this.subDistricts)
32
- s.push(...o.getAllSignalCoordinates());
33
- return s;
44
+ const o = [];
45
+ for (const s of this.signals)
46
+ o.push([s.longitude, s.latitude]);
47
+ for (const s of this.subDistricts)
48
+ o.push(...s.getAllSignalCoordinates());
49
+ return o;
34
50
  }
35
- getDarkNonGrayColor(s) {
36
- let o, t, i;
37
- if (s) {
38
- const a = this.cyrb53(s);
39
- o = ((a & 16711680) >> 16) % 200, t = ((a & 65280) >> 8) % 200, i = (a & 255) % 200;
51
+ getDarkNonGrayColor(o) {
52
+ let s, t, i;
53
+ if (o) {
54
+ const a = this.cyrb53(o);
55
+ s = ((a & 16711680) >> 16) % 200, t = ((a & 65280) >> 8) % 200, i = (a & 255) % 200;
40
56
  } else
41
- o = Math.floor(Math.random() * 256), t = Math.floor(Math.random() * 256), i = Math.floor(Math.random() * 256);
42
- return [o, t, i];
57
+ s = Math.floor(Math.random() * 256), t = Math.floor(Math.random() * 256), i = Math.floor(Math.random() * 256);
58
+ return [s, t, i];
43
59
  }
44
- cyrb53(s, o = 0) {
45
- let t = 3735928559 ^ o, i = 1103547991 ^ o;
46
- for (let a = 0, n; a < s.length; a++)
47
- n = s.charCodeAt(a), t = Math.imul(t ^ n, 2654435761), i = Math.imul(i ^ n, 1597334677);
60
+ cyrb53(o, s = 0) {
61
+ let t = 3735928559 ^ s, i = 1103547991 ^ s;
62
+ for (let a = 0, n; a < o.length; a++)
63
+ n = o.charCodeAt(a), t = Math.imul(t ^ n, 2654435761), i = Math.imul(i ^ n, 1597334677);
48
64
  return t = Math.imul(t ^ t >>> 16, 2246822507), t ^= Math.imul(i ^ i >>> 13, 3266489909), i = Math.imul(i ^ i >>> 16, 2246822507), i ^= Math.imul(t ^ t >>> 13, 3266489909), 4294967296 * (2097151 & i) + (t >>> 0);
49
65
  }
50
66
  }
51
67
  export {
52
- r as default
68
+ e as default
53
69
  };
@@ -7,8 +7,7 @@ export default class DistrictRenderer {
7
7
  /** 区控实线图层,区控符号由半透明实线+不透明虚线组成 */
8
8
  private districtControllerSolidLayer;
9
9
  style: string;
10
- private hasGpu;
11
- constructor(view: __esri.MapView | __esri.SceneView, hasGpu: boolean);
10
+ constructor(view: __esri.MapView | __esri.SceneView);
12
11
  /**
13
12
  * 显示区控
14
13
  * @param controllers 区控控制器数组
@@ -1,14 +1,15 @@
1
1
  import u from "@arcgis/core/Graphic";
2
- import n from "@arcgis/core/layers/FeatureLayer";
2
+ import l from "@arcgis/core/layers/FeatureLayer";
3
3
  import * as a from "@turf/helpers";
4
- import { convex as y, buffer as p } from "@turf/turf";
5
- import { districtDashLineLayerOptions as f, districtSolidLineLayerOptions as C } from "./layer-symbol.mjs";
6
- class S {
7
- constructor(t, i) {
8
- this.style = "", this.hasGpu = !0, this.view = t, this.hasGpu = i, this.districtControllerDashLayer = new n(
9
- f
10
- ), this.districtControllerDashLayer.spatialReference = t.spatialReference, this.districtControllerSolidLayer = new n(
4
+ import { convex as p, buffer as f } from "@turf/turf";
5
+ import n from "../common-utils.mjs";
6
+ import { districtDashLineLayerOptions as C, districtSolidLineLayerOptions as L } from "./layer-symbol.mjs";
7
+ class x {
8
+ constructor(t) {
9
+ this.style = "", this.view = t, this.districtControllerDashLayer = new l(
11
10
  C
11
+ ), this.districtControllerDashLayer.spatialReference = t.spatialReference, this.districtControllerSolidLayer = new l(
12
+ L
12
13
  ), this.districtControllerSolidLayer.spatialReference = t.spatialReference, this.districtControllerSolidLayer.popupEnabled = !0, this.view.map.addMany([
13
14
  this.districtControllerDashLayer,
14
15
  this.districtControllerSolidLayer
@@ -29,20 +30,20 @@ class S {
29
30
  o = a.lineString(s);
30
31
  else {
31
32
  const h = a.featureCollection(
32
- s.map((c) => a.point(c))
33
+ s.map((y) => a.point(y))
33
34
  );
34
- o = y(h), o || (o = a.lineString(s));
35
+ o = p(h), o || (o = a.lineString(s));
35
36
  }
36
37
  else if (s.length === 1)
37
38
  o = a.point(s[0]);
38
39
  else
39
40
  continue;
40
- const l = p(o.geometry, 200, {
41
+ const d = f(o.geometry, 200, {
41
42
  units: "meters"
42
- }), d = new u({
43
+ }), c = new u({
43
44
  geometry: {
44
45
  type: "polyline",
45
- paths: l.geometry.coordinates
46
+ paths: d.geometry.coordinates
46
47
  },
47
48
  attributes: {
48
49
  ObjectID: e,
@@ -56,15 +57,13 @@ class S {
56
57
  type: "district"
57
58
  }
58
59
  });
59
- i.push(d);
60
+ i.push(c);
60
61
  }
61
62
  await this.districtControllerDashLayer.applyEdits({
62
63
  addFeatures: i
63
64
  }), await this.districtControllerSolidLayer.applyEdits({
64
65
  addFeatures: i
65
- }), await this.view.goTo(i, {
66
- duration: this.hasGpu ? 1e3 : 0
67
- });
66
+ }), await n.viewGoto(this.view, i);
68
67
  }
69
68
  /**
70
69
  * 清除区控图层
@@ -93,9 +92,7 @@ class S {
93
92
  const i = this.districtControllerDashLayer.createQuery();
94
93
  i.where = `id = '${t}'`, i.returnGeometry = !0, i.outFields = ["*"];
95
94
  const e = await this.districtControllerDashLayer.queryFeatures(i);
96
- return e.features.length > 0 ? (await this.view.goTo(e.features, {
97
- duration: this.hasGpu ? 1e3 : 0
98
- }), { status: 0, message: "ok" }) : { status: 1, message: "未找到区控" };
95
+ return e.features.length > 0 ? (await n.viewGoto(this.view, e.features), { status: 0, message: "ok" }) : { status: 1, message: "未找到区控" };
99
96
  }
100
97
  /**
101
98
  * 高亮区控, 其他区控隐藏
@@ -106,9 +103,7 @@ class S {
106
103
  const i = this.districtControllerDashLayer.definitionExpression;
107
104
  this.districtControllerDashLayer.definitionExpression = `id = '${t}'`;
108
105
  const e = await this.districtControllerDashLayer.queryFeatures(), r = e.features.length;
109
- return r > 0 ? (this.districtControllerSolidLayer.definitionExpression = `id = '${t}'`, await this.view.goTo(e.features, {
110
- duration: this.hasGpu ? 1e3 : 0
111
- })) : this.districtControllerDashLayer.definitionExpression = i, r;
106
+ return r > 0 ? (this.districtControllerSolidLayer.definitionExpression = `id = '${t}'`, await n.viewGoto(this.view, e.features)) : this.districtControllerDashLayer.definitionExpression = i, r;
112
107
  }
113
108
  filter(t) {
114
109
  const i = `id = '${t}'`;
@@ -119,5 +114,5 @@ class S {
119
114
  }
120
115
  }
121
116
  export {
122
- S as default
117
+ x as default
123
118
  };
@@ -375,14 +375,10 @@ const e = {
375
375
  {
376
376
  value: "true,true",
377
377
  symbol: {
378
- type: "simple-marker",
379
- style: "circle",
380
- color: [254, 172, 22, 0.8],
381
- size: 8,
382
- outline: {
383
- color: "white",
384
- width: 0
385
- }
378
+ type: "picture-marker",
379
+ url: "/GisViewerAssets/Images/icon_star.png",
380
+ width: "20px",
381
+ height: "20px"
386
382
  }
387
383
  },
388
384
  {
@@ -424,31 +420,31 @@ const e = {
424
420
  }
425
421
  }
426
422
  }
427
- ],
428
- visualVariables: [
429
- {
430
- type: "size",
431
- valueExpression: "$view.scale",
432
- stops: [
433
- {
434
- size: 8,
435
- value: 9000.954822000003
436
- },
437
- {
438
- size: 6,
439
- value: 18055.954822000003
440
- },
441
- {
442
- size: 3,
443
- value: 144447.638572
444
- },
445
- {
446
- size: 2,
447
- value: 1155581108577e-6
448
- }
449
- ]
450
- }
451
423
  ]
424
+ // visualVariables: [
425
+ // {
426
+ // type: 'size',
427
+ // valueExpression: '$view.scale',
428
+ // stops: [
429
+ // {
430
+ // size: 8,
431
+ // value: 9000.954822000003
432
+ // },
433
+ // {
434
+ // size: 6,
435
+ // value: 18055.954822000003
436
+ // },
437
+ // {
438
+ // size: 3,
439
+ // value: 144447.638572
440
+ // },
441
+ // {
442
+ // size: 2,
443
+ // value: 1155581.108577
444
+ // }
445
+ // ]
446
+ // }
447
+ // ]
452
448
  }
453
449
  }, s = {
454
450
  id: "signalLayer",
@@ -762,7 +758,7 @@ const e = {
762
758
  }
763
759
  ]
764
760
  }
765
- }, a = {
761
+ }, n = {
766
762
  id: "signalLayer",
767
763
  source: [],
768
764
  objectIdField: "ObjectID",
@@ -980,7 +976,7 @@ const e = {
980
976
  export {
981
977
  e as districtDashLineLayerOptions,
982
978
  t as districtSolidLineLayerOptions,
983
- a as signalClusterLayerOptions,
979
+ n as signalClusterLayerOptions,
984
980
  l as signalMarkerLayerOptions,
985
981
  s as signalPictureLayerOptions,
986
982
  r as subDistrictLineLayerOptions,
@@ -1,7 +1,6 @@
1
1
  import { IFindSignalControlAreaParams, ILayerVisibleParams, IResult, IShowSignalControlAreaParams } from '../../../types';
2
2
  export default class SignalControlAreaController1 {
3
3
  private view;
4
- private hasGpu;
5
4
  /** 支队图层 */
6
5
  private detachmentLayer;
7
6
  private detachmentLayerLoaded;
@@ -9,7 +8,6 @@ export default class SignalControlAreaController1 {
9
8
  private subDistrictRenderer;
10
9
  private signalRenderer;
11
10
  private mapConfig;
12
- private roadLines;
13
11
  constructor(view: __esri.MapView | __esri.SceneView);
14
12
  /**
15
13
  * 显示所有区控、子区、信号机
@@ -51,11 +49,6 @@ export default class SignalControlAreaController1 {
51
49
  status: number;
52
50
  message: string;
53
51
  }>;
54
- /**
55
- * 获取道路线
56
- * @returns
57
- */
58
- private loadRoadLine;
59
52
  /**
60
53
  * 加载支队图层
61
54
  * 现场环境用url创建FeatureLayer有各种问题,