@vtx/map 1.1.36 → 1.1.38

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 (63) hide show
  1. package/lib/VtxMap/AMap/AMap.js +1014 -624
  2. package/lib/VtxMap/AMap/AMap.js.map +1 -1
  3. package/lib/VtxMap/BMap/Map.js +1207 -746
  4. package/lib/VtxMap/BMap/Map.js.map +1 -1
  5. package/lib/VtxMap/GMap/Map.js +1564 -1046
  6. package/lib/VtxMap/GMap/Map.js.map +1 -1
  7. package/lib/VtxMap/Map.js +42 -8
  8. package/lib/VtxMap/Map.js.map +1 -1
  9. package/lib/VtxMap/MapToolFunction.js +63 -26
  10. package/lib/VtxMap/MapToolFunction.js.map +1 -1
  11. package/lib/VtxMap/OMap/Map.js +1361 -867
  12. package/lib/VtxMap/OMap/Map.js.map +1 -1
  13. package/lib/VtxMap/OlMap/Map.js +1276 -746
  14. package/lib/VtxMap/OlMap/Map.js.map +1 -1
  15. package/lib/VtxMap/TMap/TMap.js +1072 -645
  16. package/lib/VtxMap/TMap/TMap.js.map +1 -1
  17. package/lib/VtxMap/index.js +8 -1
  18. package/lib/VtxMap/index.js.map +1 -1
  19. package/lib/VtxMap/mapPlayer.js +123 -67
  20. package/lib/VtxMap/mapPlayer.js.map +1 -1
  21. package/lib/VtxMap/optimizingPointMap.js +77 -21
  22. package/lib/VtxMap/optimizingPointMap.js.map +1 -1
  23. package/lib/VtxMap/style/css.js +6 -0
  24. package/lib/VtxMap/style/css.js.map +1 -1
  25. package/lib/VtxMap/style/index.js +6 -0
  26. package/lib/VtxMap/style/index.js.map +1 -1
  27. package/lib/VtxMap/zoomMap.js +41 -12
  28. package/lib/VtxMap/zoomMap.js.map +1 -1
  29. package/lib/VtxModal/VtxModal.js +63 -19
  30. package/lib/VtxModal/VtxModal.js.map +1 -1
  31. package/lib/VtxModal/draggableModal.js +48 -12
  32. package/lib/VtxModal/draggableModal.js.map +1 -1
  33. package/lib/VtxModal/index.js +6 -1
  34. package/lib/VtxModal/index.js.map +1 -1
  35. package/lib/VtxModal/style/css.js +6 -0
  36. package/lib/VtxModal/style/css.js.map +1 -1
  37. package/lib/VtxModal/style/index.js +6 -0
  38. package/lib/VtxModal/style/index.js.map +1 -1
  39. package/lib/VtxSearchCheckMap/VtxSearchCheckMap.js +238 -105
  40. package/lib/VtxSearchCheckMap/VtxSearchCheckMap.js.map +1 -1
  41. package/lib/VtxSearchCheckMap/index.js +2 -0
  42. package/lib/VtxSearchCheckMap/index.js.map +1 -1
  43. package/lib/VtxSearchCheckMap/mapping.js +2 -1
  44. package/lib/VtxSearchCheckMap/mapping.js.map +1 -1
  45. package/lib/VtxSearchCheckMap/style/css.js +19 -0
  46. package/lib/VtxSearchCheckMap/style/css.js.map +1 -1
  47. package/lib/VtxSearchCheckMap/style/index.js +19 -0
  48. package/lib/VtxSearchCheckMap/style/index.js.map +1 -1
  49. package/lib/VtxSearchMap/VtxSearchMap.js +221 -91
  50. package/lib/VtxSearchMap/VtxSearchMap.js.map +1 -1
  51. package/lib/VtxSearchMap/index.js +2 -0
  52. package/lib/VtxSearchMap/index.js.map +1 -1
  53. package/lib/VtxSearchMap/mapping.js +2 -1
  54. package/lib/VtxSearchMap/mapping.js.map +1 -1
  55. package/lib/VtxSearchMap/style/css.js +19 -0
  56. package/lib/VtxSearchMap/style/css.js.map +1 -1
  57. package/lib/VtxSearchMap/style/index.js +19 -0
  58. package/lib/VtxSearchMap/style/index.js.map +1 -1
  59. package/lib/default.js +13 -4
  60. package/lib/default.js.map +1 -1
  61. package/lib/index.js +3 -0
  62. package/lib/index.js.map +1 -1
  63. package/package.json +1 -1
@@ -1,45 +1,78 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
4
5
  Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports["default"] = void 0;
9
+
8
10
  var _react = _interopRequireDefault(require("react"));
11
+
9
12
  var _button = _interopRequireDefault(require("antd/lib/button"));
13
+
10
14
  var _input = _interopRequireDefault(require("antd/lib/input"));
15
+
11
16
  var _message = _interopRequireDefault(require("antd/lib/message"));
17
+
12
18
  var _checkbox = _interopRequireDefault(require("antd/lib/checkbox"));
19
+
13
20
  var _popover = _interopRequireDefault(require("antd/lib/popover"));
21
+
14
22
  var _VtxModal = require("../VtxModal");
23
+
15
24
  var _VtxMap = require("../VtxMap");
25
+
16
26
  var _default2 = _interopRequireWildcard(require("../default"));
27
+
17
28
  var _mapping = require("./mapping");
18
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
19
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
29
+
30
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
31
+
32
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
33
+
20
34
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
35
+
21
36
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
22
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
23
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
37
+
38
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
39
+
40
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
41
+
24
42
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
25
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
43
+
44
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
45
+
26
46
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
47
+
27
48
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
49
+
28
50
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
51
+
29
52
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
53
+
30
54
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
55
+
31
56
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
57
+
32
58
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
59
+
33
60
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
34
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
35
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
36
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
61
+
62
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
63
+
37
64
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
65
+
38
66
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
67
+
39
68
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
69
+
40
70
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
71
+
41
72
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
42
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } //公共地址配置
73
+
74
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
75
+
43
76
  var styles = {
44
77
  searchModal: 'vtx-ui-searchmap-searchmodal',
45
78
  searchMap: 'vtx-ui-searchmap-searchmap',
@@ -61,17 +94,18 @@ var styles = {
61
94
  hiddenLabel: 'vtx-ui-searchmap-hiddenlabel',
62
95
  otherModal: 'vtx-ui-searchmap-othermodal',
63
96
  mapTxt: 'vtx-ui-searchmap-mapTxt'
64
- };
65
-
66
- // message.config({
97
+ }; // message.config({
67
98
  // top: document.getElementById('root').offsetHeight/3,
68
99
  // duration: 5,
69
100
  // });
101
+
70
102
  var warning = function warning() {
71
103
  _message["default"].warning('位置点查询失败,请缩小比例尺或切换关键字后再重新查询!');
72
104
  };
105
+
73
106
  function distinct(ary) {
74
107
  var pts = _toConsumableArray(ary);
108
+
75
109
  if (pts[0][0] == pts[pts.length - 1][0] && pts[0][1] == pts[pts.length - 1][1]) {
76
110
  pts.pop();
77
111
  return distinct(pts);
@@ -79,24 +113,31 @@ function distinct(ary) {
79
113
  return pts;
80
114
  }
81
115
  }
116
+
82
117
  var getIcon = function getIcon(type) {
83
118
  return _default2.antdMajorVersion === '4' ? /*#__PURE__*/_react["default"].createElement(_default2.VtxMapIcon, {
84
119
  type: "icon-".concat(_mapping.iconMapping[type])
85
120
  }) : type;
86
121
  };
122
+
87
123
  var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
88
124
  _inherits(VtxSearchMap, _React$Component);
125
+
89
126
  var _super = _createSuper(VtxSearchMap);
127
+
90
128
  function VtxSearchMap(props) {
91
129
  var _this;
130
+
92
131
  _classCallCheck(this, VtxSearchMap);
132
+
93
133
  _this = _super.call(this, props);
94
- // 绘制多个图元时返回参数
134
+
95
135
  _defineProperty(_assertThisInitialized(_this), "getMultiRes", function (graphicType) {
96
136
  var resData = [];
97
137
  var _this$state = _this.state,
98
- graphicValue = _this$state.graphicValue,
99
- editGraphic = _this$state.editGraphic;
138
+ graphicValue = _this$state.graphicValue,
139
+ editGraphic = _this$state.editGraphic;
140
+
100
141
  switch (graphicType) {
101
142
  case 'polygon':
102
143
  [].concat(_toConsumableArray(graphicValue || []), _toConsumableArray(editGraphic || [])).forEach(function (item) {
@@ -106,6 +147,7 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
106
147
  });
107
148
  });
108
149
  break;
150
+
109
151
  case 'polyline':
110
152
  [].concat(_toConsumableArray(graphicValue || []), _toConsumableArray(editGraphic || [])).forEach(function (item) {
111
153
  resData.push({
@@ -113,21 +155,25 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
113
155
  length: _this.map.calculateDistance(item.geometry.paths)
114
156
  });
115
157
  });
158
+
116
159
  default:
117
160
  break;
118
161
  }
162
+
119
163
  return resData.length ? resData : null;
120
164
  });
165
+
121
166
  _this.map = null; //Map组件的ref对象
167
+
122
168
  _this.mapLoaded = false;
123
169
  _this.isDrawStatus = false;
124
170
  _this.isClickMap = false;
125
171
  _this.apid = []; //所有点id,除编辑点外
172
+
126
173
  _this.loadExtent = null;
127
174
  _this.mapId = "searchMap".concat(new Date().getTime());
128
175
  _this.multiDraw = props.multiDraw && ['polygon', 'polyline'].includes(props.graphicType);
129
- _this.clickable = false,
130
- // 多个面绘制时,是否可以点击面进行编辑
176
+ _this.clickable = false, // 多个面绘制时,是否可以点击面进行编辑
131
177
  _this.state = {
132
178
  //列表和地图宽度切换的动画需要
133
179
  isShowList: false,
@@ -146,6 +192,7 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
146
192
  graphicValue: _this.multiDraw ? [] : null,
147
193
  // 绘制图元id集合
148
194
  drawGraphID: _this.multiDraw ? ['drawnGraph'] : 'drawnGraph',
195
+
149
196
  /*地图Api参数*/
150
197
  mapCenter: props.mapCenter || '',
151
198
  maxZoom: props.maxZoom,
@@ -166,6 +213,7 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
166
213
  editGraphic: _this.multiDraw ? [] : null,
167
214
  mapZoomLevel: props.mapZoomLevel || 11,
168
215
  setZoomLevel: false,
216
+
169
217
  /*modal参数*/
170
218
  modal1Visible: props.modal1Visible || false,
171
219
  isShowOther: props.isShowOther || false,
@@ -179,28 +227,35 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
179
227
  showControl: props.showControl || false
180
228
  };
181
229
  return _this;
182
- }
230
+ } // 绘制多个图元时返回参数
231
+
232
+
183
233
  _createClass(VtxSearchMap, [{
184
234
  key: "callback",
185
- value:
186
- //经纬度回调
235
+ value: //经纬度回调
187
236
  function callback() {
188
237
  var fun = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'callback';
238
+
189
239
  if (fun in this.props && typeof this.props[fun] === 'function') {
190
240
  var editGraphicId = this.state.editGraphicId;
241
+
191
242
  switch (this.state.graphicType) {
192
243
  case 'point':
193
244
  var locationPoint = this.state.locationPoint;
245
+
194
246
  if (this.map.getGraphic('locationPoint')) {
195
247
  var p = this.map.getGraphic(locationPoint[0].id).geometry;
196
248
  this.props[fun]([p.x, p.y]);
197
249
  } else {
198
250
  return [];
199
251
  }
252
+
200
253
  break;
254
+
201
255
  case 'circle':
202
256
  if (this.map.getGraphic(editGraphicId)) {
203
257
  var _p = this.map.getGraphic(editGraphicId);
258
+
204
259
  this.props[fun]({
205
260
  x: _p.geometry.x,
206
261
  y: _p.geometry.y,
@@ -215,14 +270,18 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
215
270
  area: this.state.graphicValue.area
216
271
  } : null);
217
272
  }
273
+
218
274
  break;
275
+
219
276
  case 'polygon':
220
277
  if (this.multiDraw) {
221
278
  this.props[fun](this.getMultiRes('polygon'));
222
279
  return;
223
280
  }
281
+
224
282
  if (this.map.getGraphic(editGraphicId)) {
225
283
  var _p2 = this.map.getGraphic(editGraphicId);
284
+
226
285
  this.props[fun]({
227
286
  rings: distinct(_p2.geometry.rings),
228
287
  area: this.map.getPolygonArea(distinct(_p2.geometry.rings))
@@ -233,20 +292,25 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
233
292
  area: this.state.graphicValue.area
234
293
  } : null);
235
294
  }
295
+
236
296
  break;
297
+
237
298
  case 'rectangle':
238
299
  this.props[fun](this.state.graphicValue ? {
239
300
  rings: distinct(this.state.graphicValue.geometry.rings),
240
301
  area: this.state.graphicValue.area
241
302
  } : null);
242
303
  break;
304
+
243
305
  case 'polyline':
244
306
  if (this.multiDraw) {
245
307
  this.props[fun](this.getMultiRes('polyline'));
246
308
  return;
247
309
  }
310
+
248
311
  if (this.map.getGraphic(editGraphicId)) {
249
312
  var _p3 = this.map.getGraphic(editGraphicId);
313
+
250
314
  this.props[fun]({
251
315
  paths: _p3.geometry.paths,
252
316
  length: this.map.calculateDistance(_p3.geometry.paths)
@@ -257,9 +321,11 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
257
321
  length: this.map.calculateDistance(this.state.graphicValue.geometry.paths)
258
322
  } : null);
259
323
  }
324
+
260
325
  break;
261
326
  }
262
327
  }
328
+
263
329
  if (this.props.clearDrawnGraph) {
264
330
  this.clearDrawnGraph();
265
331
  }
@@ -270,17 +336,18 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
270
336
  this.setState({
271
337
  isShowList: bealoon
272
338
  });
273
- }
274
- //绘制定位点(以当前的中心点位参照 => 同时开启点位编辑)
339
+ } //绘制定位点(以当前的中心点位参照 => 同时开启点位编辑)
340
+
275
341
  }, {
276
342
  key: "drawLocationPoint",
277
343
  value: function drawLocationPoint() {
278
- var t = this;
279
- //判断arcgis,是: 判断中心点是否已经确定,确定,继续走逻辑.不确认.轮询等待
344
+ var t = this; //判断arcgis,是: 判断中心点是否已经确定,确定,继续走逻辑.不确认.轮询等待
345
+
280
346
  if (this.props.mapType !== 'gmap' || this.map.state.gis.extent && !!this.map.state.gis.extent.xmax) {
281
347
  var lglt = this.map.getMapExtent(),
282
- editGraphic = null,
283
- editGraphicId = 'locationPoint';
348
+ editGraphic = null,
349
+ editGraphicId = 'locationPoint';
350
+
284
351
  if (!this.multiDraw && this.props.editParam) {
285
352
  // && (this.props.graphicType == 'polyline' || this.props.graphicType == 'polygon')
286
353
  editGraphic = _objectSpread(_objectSpread({}, this.props.editParam), {}, {
@@ -288,6 +355,7 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
288
355
  });
289
356
  editGraphicId = 'drawnGraph';
290
357
  }
358
+
291
359
  if (this.multiDraw && Array.isArray(this.props.editParam) && this.props.editParam.length) {
292
360
  // && (this.props.graphicType == 'polyline' || this.props.graphicType == 'polygon')
293
361
  editGraphic = this.props.editParam.map(function (item, index) {
@@ -297,6 +365,7 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
297
365
  });
298
366
  editGraphicId = null;
299
367
  }
368
+
300
369
  this.isinit = false;
301
370
  this.setState({
302
371
  editGraphic: editGraphic,
@@ -327,13 +396,13 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
327
396
  t.drawLocationPoint();
328
397
  }, 50);
329
398
  }
330
- }
331
- //校正定位的点位位置到当前的中心点
399
+ } //校正定位的点位位置到当前的中心点
400
+
332
401
  }, {
333
402
  key: "correction",
334
403
  value: function correction() {
335
- var t = this;
336
- //获取当前中心点经纬度
404
+ var t = this; //获取当前中心点经纬度
405
+
337
406
  var lglt = this.map.getMapExtent();
338
407
  var locationPoint = t.state.locationPoint;
339
408
  locationPoint = locationPoint.map(function (item, index) {
@@ -343,16 +412,16 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
343
412
  });
344
413
  });
345
414
  this.map.updatePoint(locationPoint);
346
- }
347
- //搜索关键字切换
415
+ } //搜索关键字切换
416
+
348
417
  }, {
349
418
  key: "changeValue",
350
419
  value: function changeValue(e) {
351
420
  this.setState({
352
421
  searchValue: e.target.value
353
422
  });
354
- }
355
- //根据关键字搜索数据
423
+ } //根据关键字搜索数据
424
+
356
425
  }, {
357
426
  key: "searchList",
358
427
  value: function searchList() {
@@ -362,8 +431,9 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
362
431
  searchPoints.then(function (results) {
363
432
  if (results.length > 0) {
364
433
  var lsp = [],
365
- lsm = [];
434
+ lsm = [];
366
435
  t.apid = [];
436
+
367
437
  for (var i = 0; i < results.length; i++) {
368
438
  var r = results[i];
369
439
  lsp.push(_objectSpread(_objectSpread({}, results[i]), {}, {
@@ -378,6 +448,7 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
378
448
  });
379
449
  t.apid.push(r.id);
380
450
  }
451
+
381
452
  t.setState({
382
453
  listPoint: lsp,
383
454
  listMess: lsm,
@@ -388,12 +459,13 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
388
459
  warning();
389
460
  }
390
461
  });
391
- }
392
- //返回最佳位置(zoom,center)
462
+ } //返回最佳位置(zoom,center)
463
+
393
464
  }, {
394
465
  key: "setFitView",
395
466
  value: function setFitView() {
396
467
  var _this2 = this;
468
+
397
469
  this.setState({
398
470
  mapVisiblePoints: {
399
471
  fitView: this.apid,
@@ -405,8 +477,8 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
405
477
  setVisiblePoints: false
406
478
  });
407
479
  });
408
- }
409
- //清空列表的所有数据(包括点位)
480
+ } //清空列表的所有数据(包括点位)
481
+
410
482
  }, {
411
483
  key: "clearList",
412
484
  value: function clearList() {
@@ -417,15 +489,15 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
417
489
  listMess: [],
418
490
  isShowList: false
419
491
  });
420
- }
421
- //列表选中地址
492
+ } //列表选中地址
493
+
422
494
  }, {
423
495
  key: "chooseAddress",
424
496
  value: function chooseAddress(id) {
425
497
  var t = this;
426
498
  var _this$state2 = this.state,
427
- listPoint = _this$state2.listPoint,
428
- listMess = _this$state2.listMess;
499
+ listPoint = _this$state2.listPoint,
500
+ listMess = _this$state2.listMess;
429
501
  var mapCenter = [];
430
502
  listPoint = listPoint.map(function (item, index) {
431
503
  if (item.id === id) {
@@ -461,6 +533,7 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
461
533
  t.setState({
462
534
  setCenter: false
463
535
  });
536
+
464
537
  if (t.state.graphicType == 'point') {
465
538
  t.correction();
466
539
  }
@@ -470,11 +543,14 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
470
543
  key: "clickGraphic",
471
544
  value: function clickGraphic(obj) {
472
545
  var _this3 = this;
546
+
473
547
  if (obj.type === 'point' && obj.attributes.other === 'search') {
474
548
  this.chooseAddress(obj.attributes.id);
475
549
  }
550
+
476
551
  if (this.clickable && ['polygon', 'polyline'].includes(obj.type)) {
477
552
  var _obj$param$attributes;
553
+
478
554
  // 开启编辑
479
555
  this.setState({
480
556
  editGraphicId: obj.param.id || ((_obj$param$attributes = obj.param.attributes) === null || _obj$param$attributes === void 0 ? void 0 : _obj$param$attributes.id),
@@ -498,16 +574,17 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
498
574
  this.setState({
499
575
  modal1Visible: false
500
576
  });
501
- }
502
- // if(this.props.clearDrawnGraph){
503
- this.clearDrawnGraph();
504
- // }
577
+ } // if(this.props.clearDrawnGraph){
578
+
579
+
580
+ this.clearDrawnGraph(); // }
505
581
  }
506
582
  }
507
583
  }, {
508
584
  key: "clearDrawnGraph",
509
585
  value: function clearDrawnGraph() {
510
586
  var _this4 = this;
587
+
511
588
  this.isDrawStatus = true;
512
589
  this.setState({
513
590
  isDraw: this.state.graphicType !== 'point',
@@ -523,6 +600,7 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
523
600
  key: "continueDraw",
524
601
  value: function continueDraw(func) {
525
602
  var _this5 = this;
603
+
526
604
  this.clickable = false;
527
605
  this.setState({
528
606
  isDraw: false,
@@ -545,11 +623,15 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
545
623
  key: "editGraphic",
546
624
  value: function editGraphic() {
547
625
  var _this6 = this;
626
+
548
627
  if (this.isDrawStatus && this.isClickMap) {
549
628
  _message["default"].warning('请双击结束图元编辑');
629
+
550
630
  return;
551
631
  }
632
+
552
633
  _message["default"].info('请点击图元进行编辑');
634
+
553
635
  this.clickable = true;
554
636
  this.isDrawStatus = false;
555
637
  this.setState({
@@ -569,8 +651,8 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
569
651
  value: function editGraphicChange(obj) {
570
652
  if (!this.multiDraw) return;
571
653
  var _this$state3 = this.state,
572
- graphicValue = _this$state3.graphicValue,
573
- editGraphic = _this$state3.editGraphic;
654
+ graphicValue = _this$state3.graphicValue,
655
+ editGraphic = _this$state3.editGraphic;
574
656
  this.setState({
575
657
  graphicValue: (graphicValue || []).map(function (item) {
576
658
  return item.id === obj.id ? obj : item;
@@ -589,6 +671,7 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
589
671
  currentMap: str
590
672
  });
591
673
  var layers = [];
674
+
592
675
  switch (mapType) {
593
676
  case 'amap':
594
677
  case 'bmap':
@@ -598,9 +681,12 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
598
681
  } else {
599
682
  t.map.setMapType('wx');
600
683
  }
684
+
601
685
  break;
686
+
602
687
  case 'gmap':
603
688
  break;
689
+
604
690
  default:
605
691
  break;
606
692
  }
@@ -609,40 +695,41 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
609
695
  key: "render",
610
696
  value: function render() {
611
697
  var _this7 = this;
698
+
612
699
  var t = this;
613
700
  var _this$state4 = this.state,
614
- isShowList = _this$state4.isShowList,
615
- searchValue = _this$state4.searchValue,
616
- locationPoint = _this$state4.locationPoint,
617
- listPoint = _this$state4.listPoint,
618
- listMess = _this$state4.listMess,
619
- mapZoomLevel = _this$state4.mapZoomLevel,
620
- setZoomLevel = _this$state4.setZoomLevel,
621
- maxZoom = _this$state4.maxZoom,
622
- minZoom = _this$state4.minZoom,
623
- wkid = _this$state4.wkid,
624
- mapServer = _this$state4.mapServer,
625
- mapCenter = _this$state4.mapCenter,
626
- setCenter = _this$state4.setCenter,
627
- mapType = _this$state4.mapType,
628
- mapStyle = _this$state4.mapStyle,
629
- mapVisiblePoints = _this$state4.mapVisiblePoints,
630
- setVisiblePoints = _this$state4.setVisiblePoints,
631
- isDoEdit = _this$state4.isDoEdit,
632
- editGraphicId = _this$state4.editGraphicId,
633
- isEndEdit = _this$state4.isEndEdit,
634
- modal1Visible = _this$state4.modal1Visible,
635
- drawGraphID = _this$state4.drawGraphID,
636
- isShowOther = _this$state4.isShowOther,
637
- otherText = _this$state4.otherText,
638
- isShowOtherGraph = _this$state4.isShowOtherGraph,
639
- editGraphic = _this$state4.editGraphic,
640
- graphicType = _this$state4.graphicType,
641
- graphicValue = _this$state4.graphicValue,
642
- olProps = _this$state4.olProps,
643
- isChangeMapType = _this$state4.isChangeMapType,
644
- currentMap = _this$state4.currentMap,
645
- showControl = _this$state4.showControl;
701
+ isShowList = _this$state4.isShowList,
702
+ searchValue = _this$state4.searchValue,
703
+ locationPoint = _this$state4.locationPoint,
704
+ listPoint = _this$state4.listPoint,
705
+ listMess = _this$state4.listMess,
706
+ mapZoomLevel = _this$state4.mapZoomLevel,
707
+ setZoomLevel = _this$state4.setZoomLevel,
708
+ maxZoom = _this$state4.maxZoom,
709
+ minZoom = _this$state4.minZoom,
710
+ wkid = _this$state4.wkid,
711
+ mapServer = _this$state4.mapServer,
712
+ mapCenter = _this$state4.mapCenter,
713
+ setCenter = _this$state4.setCenter,
714
+ mapType = _this$state4.mapType,
715
+ mapStyle = _this$state4.mapStyle,
716
+ mapVisiblePoints = _this$state4.mapVisiblePoints,
717
+ setVisiblePoints = _this$state4.setVisiblePoints,
718
+ isDoEdit = _this$state4.isDoEdit,
719
+ editGraphicId = _this$state4.editGraphicId,
720
+ isEndEdit = _this$state4.isEndEdit,
721
+ modal1Visible = _this$state4.modal1Visible,
722
+ drawGraphID = _this$state4.drawGraphID,
723
+ isShowOther = _this$state4.isShowOther,
724
+ otherText = _this$state4.otherText,
725
+ isShowOtherGraph = _this$state4.isShowOtherGraph,
726
+ editGraphic = _this$state4.editGraphic,
727
+ graphicType = _this$state4.graphicType,
728
+ graphicValue = _this$state4.graphicValue,
729
+ olProps = _this$state4.olProps,
730
+ isChangeMapType = _this$state4.isChangeMapType,
731
+ currentMap = _this$state4.currentMap,
732
+ showControl = _this$state4.showControl;
646
733
  var InputProps = {
647
734
  style: {
648
735
  'width': '200px'
@@ -667,9 +754,11 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
667
754
  isDoEdit: !_this7.multiDraw,
668
755
  isDraw: _this7.multiDraw
669
756
  };
757
+
670
758
  if (!_this7.multiDraw && (obj.geometryType == 'polyline' || obj.geometryType == 'polygon')) {
671
759
  objparam.editGraphicId = obj.id;
672
760
  }
761
+
673
762
  _this7.setState(objparam);
674
763
  },
675
764
  mapDraw: {
@@ -701,42 +790,51 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
701
790
  }
702
791
  };
703
792
  var mapPoints = [],
704
- mapLines = [],
705
- mapPolygons = [],
706
- mapCircles = [];
793
+ mapLines = [],
794
+ mapPolygons = [],
795
+ mapCircles = [];
796
+
707
797
  if (graphicType == 'point') {
708
798
  mapPoints = [].concat(_toConsumableArray(locationPoint), _toConsumableArray(listPoint));
709
799
  } else {
710
800
  mapPoints = _toConsumableArray(listPoint);
711
801
  }
802
+
712
803
  if (graphicType === 'polygon') {
713
804
  if (editGraphic) {
714
805
  var _mapPolygons;
806
+
715
807
  Array.isArray(editGraphic) ? (_mapPolygons = mapPolygons).push.apply(_mapPolygons, _toConsumableArray(editGraphic)) : mapPolygons.push(editGraphic);
716
808
  !this.multiDraw && (drawProps = null);
717
809
  }
718
810
  }
811
+
719
812
  if (graphicType === 'polyline') {
720
813
  if (editGraphic) {
721
- var _mapPolygons2;
722
- Array.isArray(editGraphic) ? (_mapPolygons2 = mapPolygons).push.apply(_mapPolygons2, _toConsumableArray(editGraphic)) : mapPolygons.push(editGraphic);
814
+ var _mapLines;
815
+
816
+ Array.isArray(editGraphic) ? (_mapLines = mapLines).push.apply(_mapLines, _toConsumableArray(editGraphic)) : mapLines.push(editGraphic);
723
817
  !this.multiDraw && (drawProps = null);
724
818
  }
725
819
  }
820
+
726
821
  if (graphicType === 'rectangle') {
727
822
  if (editGraphic) {
728
823
  mapPolygons.push(editGraphic);
729
824
  drawProps = null;
730
825
  }
731
826
  }
827
+
732
828
  if (graphicType === 'circle') {
733
829
  if (editGraphic) {
734
830
  mapCircles.push(editGraphic);
735
831
  drawProps = null;
736
832
  }
737
833
  }
834
+
738
835
  if (isShowOtherGraph) {
739
836
  var otherGraph = this.props.otherGraph;
837
+
740
838
  if (otherGraph) {
741
839
  mapPoints = [].concat(_toConsumableArray(mapPoints), _toConsumableArray(otherGraph.point || []));
742
840
  mapLines = [].concat(_toConsumableArray(mapLines), _toConsumableArray(otherGraph.polyline || []));
@@ -744,6 +842,7 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
744
842
  mapCircles = [].concat(_toConsumableArray(mapCircles), _toConsumableArray(otherGraph.circle || []));
745
843
  }
746
844
  }
845
+
747
846
  var mapTypeContent = /*#__PURE__*/_react["default"].createElement("div", {
748
847
  style: {
749
848
  width: '170px',
@@ -779,6 +878,7 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
779
878
  }, /*#__PURE__*/_react["default"].createElement("img", {
780
879
  src: "".concat(_default2["default"].mapServerURL, "/images/wx.png")
781
880
  })));
881
+
782
882
  return /*#__PURE__*/_react["default"].createElement(_VtxModal.VtxModal, {
783
883
  title: this.state.graphicType == 'point' ? "定位" : "绘制",
784
884
  style: {
@@ -800,8 +900,10 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
800
900
  onClick: function onClick() {
801
901
  if (_this7.multiDraw && _this7.state.isDoEdit && !_this7.state.isEndEdit) {
802
902
  _this7.continueDraw(_this7.callback.bind(_this7));
903
+
803
904
  return;
804
905
  }
906
+
805
907
  _this7.callback();
806
908
  },
807
909
  icon: getIcon('check')
@@ -831,14 +933,16 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
831
933
  disabled: this.isDrawStatus,
832
934
  onClick: function onClick() {
833
935
  _this7.isDrawStatus = true;
936
+
834
937
  if (_this7.multiDraw) {
835
938
  _this7.clickable = false;
836
- graphicValue === null || graphicValue === void 0 || graphicValue.forEach(function (item) {
939
+ graphicValue === null || graphicValue === void 0 ? void 0 : graphicValue.forEach(function (item) {
837
940
  return t.map.removeGraphic(item.id, 'draw');
838
941
  });
839
- editGraphic === null || editGraphic === void 0 || editGraphic.forEach(function (item) {
942
+ editGraphic === null || editGraphic === void 0 ? void 0 : editGraphic.forEach(function (item) {
840
943
  return t.map.removeGraphic(item.id, 'draw');
841
944
  });
945
+
842
946
  _this7.setState({
843
947
  isDraw: false,
844
948
  isCloseDraw: true,
@@ -865,6 +969,7 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
865
969
  });
866
970
  });
867
971
  }
972
+
868
973
  _this7.callback('editDraw');
869
974
  },
870
975
  icon: getIcon('edit')
@@ -969,11 +1074,15 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
969
1074
  key: "initSearchMap",
970
1075
  value: function initSearchMap() {
971
1076
  var _this8 = this;
972
- if (this.props.modal1Visible /*&& !this.state.locationPoint[0]*/) {
1077
+
1078
+ if (this.props.modal1Visible
1079
+ /*&& !this.state.locationPoint[0]*/
1080
+ ) {
973
1081
  if (this.map) {
974
1082
  this.map.loadMapComplete.then(function () {
975
1083
  if (!_this8.mapLoaded) {
976
1084
  _this8.mapLoaded = true;
1085
+
977
1086
  _this8.drawLocationPoint();
978
1087
  }
979
1088
  });
@@ -996,16 +1105,20 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
996
1105
  key: "componentWillReceiveProps",
997
1106
  value: function componentWillReceiveProps(nextProps) {
998
1107
  var _this9 = this;
1108
+
999
1109
  var t = this;
1000
1110
  this.isClickMap = false;
1111
+
1001
1112
  if (t.state.graphicType !== nextProps.graphicType && !!this.map) {
1002
1113
  this.map.clearAll();
1003
1114
  t.mapLoaded = false;
1004
1115
  t.isinit = true;
1005
1116
  }
1117
+
1006
1118
  if (nextProps.editParam) {
1007
1119
  t.mapLoaded = false;
1008
1120
  }
1121
+
1009
1122
  t.isDrawStatus = nextProps.graphicType !== 'point' && !nextProps.editParam;
1010
1123
  this.setState({
1011
1124
  modal1Visible: nextProps.modal1Visible,
@@ -1030,6 +1143,7 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
1030
1143
  //实现2+次进入时,清理数据
1031
1144
  if (nextProps.modal1Visible) {
1032
1145
  _this9.clearList();
1146
+
1033
1147
  _this9.setState({
1034
1148
  setZoomLevel: true
1035
1149
  }, function () {
@@ -1037,27 +1151,39 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
1037
1151
  setZoomLevel: false
1038
1152
  });
1039
1153
  });
1154
+
1040
1155
  if (!!_this9.map && !!_this9.state.locationPoint[0] && nextProps.mapCenter && !!nextProps.mapCenter[0]) {
1041
1156
  if (_this9.map.getGraphic('locationPoint')) {
1042
1157
  switch (nextProps.mapType) {
1043
1158
  case 'bmap':
1044
1159
  _this9.map.getGraphic('locationPoint').mapLayer.setPosition(new BMap.Point(nextProps.mapCenter[0], nextProps.mapCenter[1]));
1160
+
1045
1161
  break;
1162
+
1046
1163
  case 'amap':
1047
1164
  _this9.map.getGraphic('locationPoint').mapLayer.setPosition(new AMap.LngLat(nextProps.mapCenter[0], nextProps.mapCenter[1]));
1165
+
1048
1166
  break;
1167
+
1049
1168
  case 'tmap':
1050
1169
  _this9.map.getGraphic('locationPoint').mapLayer.setLngLat(new T.LngLat(nextProps.mapCenter[0], nextProps.mapCenter[1]));
1170
+
1051
1171
  break;
1172
+
1052
1173
  case 'gmap':
1053
1174
  _this9.map.getGraphic('locationPoint').mapLayer.geometry.setLatitude(nextProps.mapCenter[1]);
1175
+
1054
1176
  _this9.map.getGraphic('locationPoint').mapLayer.geometry.setLongitude(nextProps.mapCenter[0]);
1177
+
1055
1178
  _this9.map.state.gis.graphics.refresh();
1179
+
1056
1180
  case 'olMap':
1057
1181
  _this9.map.getGraphic('locationPoint').mapLayer.setGeometry(new ol.geom.Point(nextProps.mapCenter));
1182
+
1058
1183
  break;
1059
1184
  }
1060
1185
  }
1186
+
1061
1187
  _this9.map.setCenter(nextProps.mapCenter);
1062
1188
  }
1063
1189
  }
@@ -1068,13 +1194,17 @@ var VtxSearchMap = /*#__PURE__*/function (_React$Component) {
1068
1194
  value: function componentWillUnmount() {
1069
1195
  //关闭moveTo定时
1070
1196
  var t = this;
1197
+
1071
1198
  if (t.loadExtent) {
1072
1199
  clearInterval(t.loadExtent);
1073
1200
  }
1074
1201
  }
1075
1202
  }]);
1203
+
1076
1204
  return VtxSearchMap;
1077
1205
  }(_react["default"].Component);
1078
- var _default = exports["default"] = VtxSearchMap;
1206
+
1207
+ var _default = VtxSearchMap;
1208
+ exports["default"] = _default;
1079
1209
  module.exports = exports["default"];
1080
1210
  //# sourceMappingURL=VtxSearchMap.js.map