@vtx/map 1.2.32 → 2.0.0-beta.1

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 (57) hide show
  1. package/README.md +44 -44
  2. package/lib/VtxMap/AMap/AMap.js +37 -34
  3. package/lib/VtxMap/AMap/AMap.js.map +1 -1
  4. package/lib/VtxMap/BMap/Map.js +60 -57
  5. package/lib/VtxMap/BMap/Map.js.map +1 -1
  6. package/lib/VtxMap/GMap/Map.js +36 -35
  7. package/lib/VtxMap/GMap/Map.js.map +1 -1
  8. package/lib/VtxMap/OMap/Map.js +65 -62
  9. package/lib/VtxMap/OMap/Map.js.map +1 -1
  10. package/lib/VtxMap/OMap/Map.less +70 -70
  11. package/lib/VtxMap/OlMap/Map.js +59 -54
  12. package/lib/VtxMap/OlMap/Map.js.map +1 -1
  13. package/lib/VtxMap/OlMap/Map.less +230 -230
  14. package/lib/VtxMap/TMap/TMap.js +58 -56
  15. package/lib/VtxMap/TMap/TMap.js.map +1 -1
  16. package/lib/VtxMap/index.js +0 -18
  17. package/lib/VtxMap/index.js.map +1 -1
  18. package/lib/VtxMap/optimizingPointMap.js +1 -1
  19. package/lib/VtxMap/optimizingPointMap.js.map +1 -1
  20. package/lib/VtxModal/VtxModal.css +53 -18
  21. package/lib/VtxModal/VtxModal.js +17 -13
  22. package/lib/VtxModal/VtxModal.js.map +1 -1
  23. package/lib/VtxModal/VtxModal.less +102 -52
  24. package/lib/VtxModal/style/css.js +1 -12
  25. package/lib/VtxModal/style/css.js.map +1 -1
  26. package/lib/VtxModal/style/index.js +1 -12
  27. package/lib/VtxModal/style/index.js.map +1 -1
  28. package/lib/VtxSearchCheckMap/VtxSearchCheckMap.css +45 -63
  29. package/lib/VtxSearchCheckMap/VtxSearchCheckMap.js +35 -36
  30. package/lib/VtxSearchCheckMap/VtxSearchCheckMap.js.map +1 -1
  31. package/lib/VtxSearchCheckMap/VtxSearchCheckMap.less +73 -68
  32. package/lib/VtxSearchCheckMap/index.js.map +1 -1
  33. package/lib/VtxSearchCheckMap/mapping.js.map +1 -1
  34. package/lib/VtxSearchCheckMap/style/css.js +2 -18
  35. package/lib/VtxSearchCheckMap/style/css.js.map +1 -1
  36. package/lib/VtxSearchCheckMap/style/index.js +2 -18
  37. package/lib/VtxSearchCheckMap/style/index.js.map +1 -1
  38. package/lib/VtxSearchMap/VtxSearchMap.css +45 -60
  39. package/lib/VtxSearchMap/VtxSearchMap.js +33 -33
  40. package/lib/VtxSearchMap/VtxSearchMap.js.map +1 -1
  41. package/lib/VtxSearchMap/VtxSearchMap.less +157 -174
  42. package/lib/VtxSearchMap/index.js.map +1 -1
  43. package/lib/VtxSearchMap/mapping.js.map +1 -1
  44. package/lib/VtxSearchMap/style/css.js +3 -25
  45. package/lib/VtxSearchMap/style/css.js.map +1 -1
  46. package/lib/VtxSearchMap/style/index.js +3 -25
  47. package/lib/VtxSearchMap/style/index.js.map +1 -1
  48. package/lib/default.js +37 -13
  49. package/lib/default.js.map +1 -1
  50. package/lib/utils/util.js.map +1 -1
  51. package/package.json +14 -12
  52. package/lib/VtxModal/VtxModalAntd3.css +0 -62
  53. package/lib/VtxModal/VtxModalAntd3.less +0 -67
  54. package/lib/VtxSearchCheckMap/VtxSearchCheckMapAntd3.css +0 -0
  55. package/lib/VtxSearchCheckMap/VtxSearchCheckMapAntd3.less +0 -1
  56. package/lib/VtxSearchMap/VtxSearchMapAntd3.css +0 -0
  57. package/lib/VtxSearchMap/VtxSearchMapAntd3.less +0 -1
@@ -1,231 +1,231 @@
1
- .map{
2
- width: 100%;
3
- height: 100%;
4
- background-color: #f1f1f1;
5
- }
6
- .vtx_gmap_html_points,.vtx_gmap_html_pointCollection{
7
- position: absolute;
8
- top: 0px;
9
- left: 0px;
10
- }
11
- .esriSimpleSlider{
12
- z-index: 10000000 !important;
13
- }
14
- .label-content{
15
- /*margin-left: 0;
16
- width: 100px;
17
- line-height: 25px;
18
- text-align: center;
19
- position: relative;
20
- left: -43px;
21
- background-color: #fff;
22
- opacity: 1;
23
- border-radius: 5px;
24
- color: #5DD0EE;
25
- word-break: break-all;
26
- white-space: normal;
27
- padding: 2px 8px;*/
28
- display: inline-block;
29
- padding: 5px;
30
- line-height: 22px;
31
- text-align: center;
32
- border-radius: 5px;
33
- background-color: #fff;
34
- opacity: 1;
35
- color: #5DD0EE;
36
- }
37
- .vtx-g-rangingPoint{
38
- width: 7px;
39
- height: 7px;
40
- background-color: #fff;
41
- border: 2px solid #ff0000;
42
- display: inline-block;
43
- border-radius: 7px;
44
- }
45
- .vtx-g-rangingDistance{
46
- position: relative;
47
- top: -36px;
48
- left: 15px;
49
- height: 30px;
50
- line-height: 28px;
51
- background-color: #fff;
52
- border: 1px solid #ff0000;
53
- font-size: 12px;
54
- word-break: keep-all;
55
- padding: 0px 3px;
56
- }
57
- .vtx-g-rang-exit{
58
- width: 9px;
59
- height: 9px;
60
- background-color: #fff;
61
- border: 2px solid #ff0000;
62
- color: #ff0000;
63
- line-height: 7px;
64
- text-align: center;
65
- font-size: 12px;
66
- cursor: pointer;
67
- }
68
- .vtx-g-rang-showRangTool{
69
- line-height: 18px;
70
- font-size: 12px;
71
- border: 1px solid #ff0000;
72
- word-break: keep-all;
73
- background-color: #fff;
74
- padding: 0px 5px;
75
- }
76
- .zoom_slider_show_scale{
77
- padding: 1px 8px;
78
- font-size: 12px;
79
- text-align: center;
80
- }
81
- .zoom_slider_show_bottom{
82
- width: 100%;
83
- height: 3px;
84
- border: 1px solid #000;
85
- border-bottom: 3px solid #000;
86
- border-top: 0px;
87
- }
88
- .ol-tooltip {
89
- position: relative;
90
- background: rgba(0, 0, 0, 0.5);
91
- border-radius: 4px;
92
- color: white;
93
- padding: 4px 8px;
94
- opacity: 0.7;
95
- white-space: nowrap;
96
- font-size: 12px;
97
- cursor: default;
98
- user-select: none;
99
- }
100
- .ol-tooltip-measure {
101
- opacity: 1;
102
- font-weight: bold;
103
- }
104
- .ol-tooltip-static {
105
- background-color: #ffcc33;
106
- color: black;
107
- border: 1px solid white;
108
- }
109
- .ol-tooltip-measure:before,
110
- .ol-tooltip-static:before {
111
- border-top: 6px solid rgba(0, 0, 0, 0.5);
112
- border-right: 6px solid transparent;
113
- border-left: 6px solid transparent;
114
- content: "";
115
- position: absolute;
116
- bottom: -6px;
117
- margin-left: -7px;
118
- left: 50%;
119
- }
120
- .ol-tooltip-static:before {
121
- border-top-color: #ffcc33;
122
- }
123
-
124
- // 核心就是绝对定位
125
- .ol-popup {
126
- position: absolute;
127
- background-color: white;
128
- box-shadow: 0 1px 4px rgba(0,0,0,0.2);
129
- padding: 15px;
130
- border-radius: 10px;
131
- border: 1px solid #cccccc;
132
- bottom: 12px;
133
- left: -50px;
134
- min-width: 280px;
135
- }
136
- .ol-popup:after, .ol-popup:before {
137
- top: 100%;
138
- border: solid transparent;
139
- content: " ";
140
- height: 0;
141
- width: 0;
142
- position: absolute;
143
- pointer-events: none;
144
- }
145
- .ol-popup:after {
146
- border-top-color: white;
147
- border-width: 10px;
148
- left: 48px;
149
- margin-left: -10px;
150
- }
151
- .ol-popup:before {
152
- border-top-color: #cccccc;
153
- border-width: 11px;
154
- left: 48px;
155
- margin-left: -11px;
156
- }
157
- .ol-popup-closer {
158
- text-decoration: none;
159
- position: absolute;
160
- top: 2px;
161
- right: 8px;
162
- }
163
- .ol-popup-closer:after {
164
- content: "✖";
165
- }
166
-
167
- .ol-scale-line{
168
- background-color: transparent;
169
- width: 113px;
170
- height: 30px;
171
- border-left: 1px solid #000;
172
- border-right: 1px solid #000;
173
- border-bottom: 1px solid #000;
174
- position: absolute !important;
175
- bottom: 20px !important;
176
- right: 20px !important;
177
- text-align: center;
178
- }
179
-
180
- // 左上
181
- .ol-scale-line-tl{
182
- position: absolute;
183
- top: 20px;
184
- left: 20px;
185
- background-color: transparent;
186
- width: 113px;
187
- height: 30px;
188
- border-left: 1px solid #000;
189
- border-right: 1px solid #000;
190
- border-bottom: 1px solid #000;
191
- text-align: center;
192
- }
193
- // 左下
194
- .ol-scale-line-bl{
195
- position: absolute;
196
- bottom: 20px;
197
- left: 20px;
198
- background-color: transparent;
199
- width: 113px;
200
- height: 30px;
201
- border-left: 1px solid #000;
202
- border-right: 1px solid #000;
203
- border-bottom: 1px solid #000;
204
- text-align: center;
205
- }
206
- // 右上
207
- .ol-scale-line-tr{
208
- position: absolute;
209
- top: 20px;
210
- right: 20px;
211
- background-color: transparent;
212
- width: 113px;
213
- height: 30px;
214
- border-left: 1px solid #000;
215
- border-right: 1px solid #000;
216
- border-bottom: 1px solid #000;
217
- text-align: center;
218
- }
219
- // 右下
220
- .ol-scale-line-bl{
221
- position: absolute;
222
- bottom: 20px;
223
- right: 20px;
224
- background-color: transparent;
225
- width: 113px;
226
- height: 30px;
227
- border-left: 1px solid #000;
228
- border-right: 1px solid #000;
229
- border-bottom: 1px solid #000;
230
- text-align: center;
1
+ .map{
2
+ width: 100%;
3
+ height: 100%;
4
+ background-color: #f1f1f1;
5
+ }
6
+ .vtx_gmap_html_points,.vtx_gmap_html_pointCollection{
7
+ position: absolute;
8
+ top: 0px;
9
+ left: 0px;
10
+ }
11
+ .esriSimpleSlider{
12
+ z-index: 10000000 !important;
13
+ }
14
+ .label-content{
15
+ /*margin-left: 0;
16
+ width: 100px;
17
+ line-height: 25px;
18
+ text-align: center;
19
+ position: relative;
20
+ left: -43px;
21
+ background-color: #fff;
22
+ opacity: 1;
23
+ border-radius: 5px;
24
+ color: #5DD0EE;
25
+ word-break: break-all;
26
+ white-space: normal;
27
+ padding: 2px 8px;*/
28
+ display: inline-block;
29
+ padding: 5px;
30
+ line-height: 22px;
31
+ text-align: center;
32
+ border-radius: 5px;
33
+ background-color: #fff;
34
+ opacity: 1;
35
+ color: #5DD0EE;
36
+ }
37
+ .vtx-g-rangingPoint{
38
+ width: 7px;
39
+ height: 7px;
40
+ background-color: #fff;
41
+ border: 2px solid #ff0000;
42
+ display: inline-block;
43
+ border-radius: 7px;
44
+ }
45
+ .vtx-g-rangingDistance{
46
+ position: relative;
47
+ top: -36px;
48
+ left: 15px;
49
+ height: 30px;
50
+ line-height: 28px;
51
+ background-color: #fff;
52
+ border: 1px solid #ff0000;
53
+ font-size: 12px;
54
+ word-break: keep-all;
55
+ padding: 0px 3px;
56
+ }
57
+ .vtx-g-rang-exit{
58
+ width: 9px;
59
+ height: 9px;
60
+ background-color: #fff;
61
+ border: 2px solid #ff0000;
62
+ color: #ff0000;
63
+ line-height: 7px;
64
+ text-align: center;
65
+ font-size: 12px;
66
+ cursor: pointer;
67
+ }
68
+ .vtx-g-rang-showRangTool{
69
+ line-height: 18px;
70
+ font-size: 12px;
71
+ border: 1px solid #ff0000;
72
+ word-break: keep-all;
73
+ background-color: #fff;
74
+ padding: 0px 5px;
75
+ }
76
+ .zoom_slider_show_scale{
77
+ padding: 1px 8px;
78
+ font-size: 12px;
79
+ text-align: center;
80
+ }
81
+ .zoom_slider_show_bottom{
82
+ width: 100%;
83
+ height: 3px;
84
+ border: 1px solid #000;
85
+ border-bottom: 3px solid #000;
86
+ border-top: 0px;
87
+ }
88
+ .ol-tooltip {
89
+ position: relative;
90
+ background: rgba(0, 0, 0, 0.5);
91
+ border-radius: 4px;
92
+ color: white;
93
+ padding: 4px 8px;
94
+ opacity: 0.7;
95
+ white-space: nowrap;
96
+ font-size: 12px;
97
+ cursor: default;
98
+ user-select: none;
99
+ }
100
+ .ol-tooltip-measure {
101
+ opacity: 1;
102
+ font-weight: bold;
103
+ }
104
+ .ol-tooltip-static {
105
+ background-color: #ffcc33;
106
+ color: black;
107
+ border: 1px solid white;
108
+ }
109
+ .ol-tooltip-measure:before,
110
+ .ol-tooltip-static:before {
111
+ border-top: 6px solid rgba(0, 0, 0, 0.5);
112
+ border-right: 6px solid transparent;
113
+ border-left: 6px solid transparent;
114
+ content: "";
115
+ position: absolute;
116
+ bottom: -6px;
117
+ margin-left: -7px;
118
+ left: 50%;
119
+ }
120
+ .ol-tooltip-static:before {
121
+ border-top-color: #ffcc33;
122
+ }
123
+
124
+ // 核心就是绝对定位
125
+ .ol-popup {
126
+ position: absolute;
127
+ background-color: white;
128
+ box-shadow: 0 1px 4px rgba(0,0,0,0.2);
129
+ padding: 15px;
130
+ border-radius: 10px;
131
+ border: 1px solid #cccccc;
132
+ bottom: 12px;
133
+ left: -50px;
134
+ min-width: 280px;
135
+ }
136
+ .ol-popup:after, .ol-popup:before {
137
+ top: 100%;
138
+ border: solid transparent;
139
+ content: " ";
140
+ height: 0;
141
+ width: 0;
142
+ position: absolute;
143
+ pointer-events: none;
144
+ }
145
+ .ol-popup:after {
146
+ border-top-color: white;
147
+ border-width: 10px;
148
+ left: 48px;
149
+ margin-left: -10px;
150
+ }
151
+ .ol-popup:before {
152
+ border-top-color: #cccccc;
153
+ border-width: 11px;
154
+ left: 48px;
155
+ margin-left: -11px;
156
+ }
157
+ .ol-popup-closer {
158
+ text-decoration: none;
159
+ position: absolute;
160
+ top: 2px;
161
+ right: 8px;
162
+ }
163
+ .ol-popup-closer:after {
164
+ content: "✖";
165
+ }
166
+
167
+ .ol-scale-line{
168
+ background-color: transparent;
169
+ width: 113px;
170
+ height: 30px;
171
+ border-left: 1px solid #000;
172
+ border-right: 1px solid #000;
173
+ border-bottom: 1px solid #000;
174
+ position: absolute !important;
175
+ bottom: 20px !important;
176
+ right: 20px !important;
177
+ text-align: center;
178
+ }
179
+
180
+ // 左上
181
+ .ol-scale-line-tl{
182
+ position: absolute;
183
+ top: 20px;
184
+ left: 20px;
185
+ background-color: transparent;
186
+ width: 113px;
187
+ height: 30px;
188
+ border-left: 1px solid #000;
189
+ border-right: 1px solid #000;
190
+ border-bottom: 1px solid #000;
191
+ text-align: center;
192
+ }
193
+ // 左下
194
+ .ol-scale-line-bl{
195
+ position: absolute;
196
+ bottom: 20px;
197
+ left: 20px;
198
+ background-color: transparent;
199
+ width: 113px;
200
+ height: 30px;
201
+ border-left: 1px solid #000;
202
+ border-right: 1px solid #000;
203
+ border-bottom: 1px solid #000;
204
+ text-align: center;
205
+ }
206
+ // 右上
207
+ .ol-scale-line-tr{
208
+ position: absolute;
209
+ top: 20px;
210
+ right: 20px;
211
+ background-color: transparent;
212
+ width: 113px;
213
+ height: 30px;
214
+ border-left: 1px solid #000;
215
+ border-right: 1px solid #000;
216
+ border-bottom: 1px solid #000;
217
+ text-align: center;
218
+ }
219
+ // 右下
220
+ .ol-scale-line-bl{
221
+ position: absolute;
222
+ bottom: 20px;
223
+ right: 20px;
224
+ background-color: transparent;
225
+ width: 113px;
226
+ height: 30px;
227
+ border-left: 1px solid #000;
228
+ border-right: 1px solid #000;
229
+ border-bottom: 1px solid #000;
230
+ text-align: center;
231
231
  }
@@ -108,52 +108,54 @@ var TMap = /*#__PURE__*/function (_React$Component) {
108
108
  value: function loadMapJs() {
109
109
  var t = this;
110
110
  this.loadMapComplete = new Promise(function (resolve, reject) {
111
- if (window.T) {
112
- resolve(window.T);
113
- } else {
114
- $.getScript("".concat(_default2["default"].mapServerURL, "/T_content.js"), function () {
115
- $.getScript(_default2["default"].tmapScriptUrl, function () {
116
- var Heatmap = new Promise(function (resolve, reject) {
117
- //对象问题 和arcgis使用不同的热力图
118
- $.getScript("".concat(_default2["default"].mapServerURL, "/Theatmap.js"), function () {
119
- resolve();
111
+ (0, _default2.ensurejQuery)().then(function () {
112
+ if (window.T) {
113
+ resolve(window.T);
114
+ } else {
115
+ $.getScript("".concat(_default2["default"].mapServerURL, "/T_content.js"), function () {
116
+ $.getScript(_default2["default"].tmapScriptUrl, function () {
117
+ var Heatmap = new Promise(function (resolve, reject) {
118
+ //对象问题 和arcgis使用不同的热力图
119
+ $.getScript("".concat(_default2["default"].mapServerURL, "/Theatmap.js"), function () {
120
+ resolve();
121
+ });
120
122
  });
121
- });
122
- var HeatmapNew = new Promise(function (resolve, reject) {
123
- //新版的热力图--老的暂不废弃,但是有问题
124
- $.getScript("".concat(_default2["default"].mapServerURL, "/HeatmapOverlay.js"), function () {
125
- resolve();
123
+ var HeatmapNew = new Promise(function (resolve, reject) {
124
+ //新版的热力图--老的暂不废弃,但是有问题
125
+ $.getScript("".concat(_default2["default"].mapServerURL, "/HeatmapOverlay.js"), function () {
126
+ resolve();
127
+ });
126
128
  });
127
- });
128
- var PointCollection = new Promise(function (resolve, reject) {
129
- $.getScript("".concat(_default2["default"].mapServerURL, "/GPointCollection.js"), function () {
130
- resolve();
129
+ var PointCollection = new Promise(function (resolve, reject) {
130
+ $.getScript("".concat(_default2["default"].mapServerURL, "/GPointCollection.js"), function () {
131
+ resolve();
132
+ });
131
133
  });
132
- });
133
- var ImageOverlays = new Promise(function (resolve, reject) {
134
- $.getScript("".concat(_default2["default"].mapServerURL, "/TImageOverlay.js"), function () {
135
- resolve();
134
+ var ImageOverlays = new Promise(function (resolve, reject) {
135
+ $.getScript("".concat(_default2["default"].mapServerURL, "/TImageOverlay.js"), function () {
136
+ resolve();
137
+ });
136
138
  });
137
- });
138
- // let components = new Promise((resolve,reject)=>{
139
- // $.getScript(`${configUrl.mapServerURL}/T_toolComponents.js`,()=>{
140
- // resolve();
141
- // })
142
- // });
143
- Promise.all([Heatmap, PointCollection, ImageOverlays, HeatmapNew /*,components*/]).then(function () {
144
- if (t.waitInit) {
145
- clearInterval(t.waitInit);
146
- }
147
- t.waitInit = setInterval(function () {
148
- if (T.Tool) {
139
+ // let components = new Promise((resolve,reject)=>{
140
+ // $.getScript(`${configUrl.mapServerURL}/T_toolComponents.js`,()=>{
141
+ // resolve();
142
+ // })
143
+ // });
144
+ Promise.all([Heatmap, PointCollection, ImageOverlays, HeatmapNew /*,components*/]).then(function () {
145
+ if (t.waitInit) {
149
146
  clearInterval(t.waitInit);
150
- resolve(window.T);
151
147
  }
152
- }, 50);
148
+ t.waitInit = setInterval(function () {
149
+ if (T.Tool) {
150
+ clearInterval(t.waitInit);
151
+ resolve(window.T);
152
+ }
153
+ }, 50);
154
+ });
153
155
  });
154
156
  });
155
- });
156
- }
157
+ }
158
+ });
157
159
  });
158
160
  }
159
161
  }, {
@@ -1770,11 +1772,11 @@ var TMap = /*#__PURE__*/function (_React$Component) {
1770
1772
  }
1771
1773
  t.popupWindow = null;
1772
1774
  }
1773
- /*
1774
- 参数
1775
- geometryType:point/polyline/polygon/circle/rectangle 默认point
1776
- parameter 样式 默认null 对象{}写入方式跟add方法一样(对应点线圆面)
1777
- data //初始化数据 默认{id:'add'}
1775
+ /*
1776
+ 参数
1777
+ geometryType:point/polyline/polygon/circle/rectangle 默认point
1778
+ parameter 样式 默认null 对象{}写入方式跟add方法一样(对应点线圆面)
1779
+ data //初始化数据 默认{id:'add'}
1778
1780
  */
1779
1781
  }, {
1780
1782
  key: "draw",
@@ -3032,10 +3034,10 @@ var TMap = /*#__PURE__*/function (_React$Component) {
3032
3034
  t.clearAllPointCollection();
3033
3035
  }
3034
3036
 
3035
- /*点数据处理
3036
- pointData[2]相同的点,执行刷新
3037
- pointData[1]的数据在idsForGraphicId中不存在的,执行新增
3038
- pointData[0]数据中多余的id,执行删除
3037
+ /*点数据处理
3038
+ pointData[2]相同的点,执行刷新
3039
+ pointData[1]的数据在idsForGraphicId中不存在的,执行新增
3040
+ pointData[0]数据中多余的id,执行删除
3039
3041
  */
3040
3042
  if (mapPoints instanceof Array && t.props.mapPoints instanceof Array && !t.deepEqual(mapPoints, t.props.mapPoints)) {
3041
3043
  var oldMapPoints = t.props.mapPoints;
@@ -3077,9 +3079,9 @@ var TMap = /*#__PURE__*/function (_React$Component) {
3077
3079
  //更新
3078
3080
  t.updatePoint([].concat(_toConsumableArray(upds), _toConsumableArray(otherupds)));
3079
3081
  }
3080
- /*
3081
- 面数据处理
3082
- 先全删除,再新增
3082
+ /*
3083
+ 面数据处理
3084
+ 先全删除,再新增
3083
3085
  */
3084
3086
  if (mapPolygons instanceof Array && t.props.mapPolygons instanceof Array && !t.deepEqual(mapPolygons, t.props.mapPolygons)) {
3085
3087
  var oldMapPolygons = t.props.mapPolygons;
@@ -3120,9 +3122,9 @@ var TMap = /*#__PURE__*/function (_React$Component) {
3120
3122
  //更新
3121
3123
  t.updatePolygon([].concat(_toConsumableArray(_upds), _toConsumableArray(_otherupds)));
3122
3124
  }
3123
- /*
3124
- 圆数据处理
3125
- 先全删除,再新增
3125
+ /*
3126
+ 圆数据处理
3127
+ 先全删除,再新增
3126
3128
  */
3127
3129
  if (mapCircles instanceof Array && t.props.mapCircles instanceof Array && !t.deepEqual(mapCircles, t.props.mapCircles)) {
3128
3130
  var oldMapCircles = t.props.mapCircles;
@@ -3163,9 +3165,9 @@ var TMap = /*#__PURE__*/function (_React$Component) {
3163
3165
  //更新
3164
3166
  t.updateCircle([].concat(_toConsumableArray(_upds2), _toConsumableArray(_otherupds2)));
3165
3167
  }
3166
- /*
3167
- 线数据处理
3168
- 先全删除,再新增
3168
+ /*
3169
+ 线数据处理
3170
+ 先全删除,再新增
3169
3171
  */
3170
3172
  if (mapLines instanceof Array && t.props.mapLines instanceof Array && !t.deepEqual(mapLines, t.props.mapLines)) {
3171
3173
  var oldMapLines = t.props.mapLines;