xy-map 1.1.39 → 1.1.40

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xy-map",
3
- "version": "1.1.39",
3
+ "version": "1.1.40",
4
4
  "description": "雄越地图",
5
5
  "main": "xy-map.umd.min.js",
6
6
  "scripts": {
package/xy-map.common.js CHANGED
@@ -1,27 +1,6 @@
1
1
  /******/ (function() { // webpackBootstrap
2
2
  /******/ var __webpack_modules__ = ({
3
3
 
4
- /***/ 5033:
5
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6
-
7
- "use strict";
8
- __webpack_require__.r(__webpack_exports__);
9
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2389);
10
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
11
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7125);
12
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
13
- // Imports
14
-
15
-
16
- var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
17
- // Module
18
- ___CSS_LOADER_EXPORT___.push([module.id, ".el-scrollbar .el-scrollbar__view .el-select-dropdown__item[data-v-5a009b74]{height:auto;max-height:274px;padding:0;overflow:hidden;overflow-y:auto}.el-select-dropdown__item.selected[data-v-5a009b74]{font-weight:400}ul li[data-v-5a009b74] .el-tree .el-tree-node__content{height:auto;padding:0 20px}.el-tree-node__label[data-v-5a009b74]{font-weight:400}.el-tree[data-v-5a009b74] .is-current .el-tree-node__label{color:#409eff;font-weight:700}.el-tree[data-v-5a009b74] .is-current .el-tree-node__children .el-tree-node__label{color:#606266;font-weight:400}.selectInput[data-v-5a009b74]{padding:0 5px;box-sizing:border-box}", ""]);
19
- // Exports
20
- /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
21
-
22
-
23
- /***/ }),
24
-
25
4
  /***/ 5203:
26
5
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
27
6
 
@@ -42800,22 +42779,6 @@ function defaultCompare(a, b) {
42800
42779
 
42801
42780
  /***/ }),
42802
42781
 
42803
- /***/ 5650:
42804
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
42805
-
42806
- // style-loader: Adds some css to the DOM by adding a <style> tag
42807
-
42808
- // load the styles
42809
- var content = __webpack_require__(5033);
42810
- if(content.__esModule) content = content.default;
42811
- if(typeof content === 'string') content = [[module.id, content, '']];
42812
- if(content.locals) module.exports = content.locals;
42813
- // add the styles to the DOM
42814
- var add = (__webpack_require__(7037)/* ["default"] */ .Z)
42815
- var update = add("903f873a", content, true, {"sourceMap":false,"shadowMode":false});
42816
-
42817
- /***/ }),
42818
-
42819
42782
  /***/ 6957:
42820
42783
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
42821
42784
 
@@ -43682,7 +43645,6 @@ __webpack_require__.d(__webpack_exports__, {
43682
43645
  "drawPoint": function() { return /* reexport */ draw_point; },
43683
43646
  "drawPolygon": function() { return /* reexport */ draw_polygon; },
43684
43647
  "drawTools": function() { return /* reexport */ draw; },
43685
- "elTreeSelect": function() { return /* reexport */ el_tree_select; },
43686
43648
  "jsonFile": function() { return /* reexport */ jsonFile; },
43687
43649
  "mapDraw": function() { return /* reexport */ mapDraw; },
43688
43650
  "mapEvent": function() { return /* reexport */ mapEvent; },
@@ -43782,7 +43744,6 @@ __webpack_require__.d(package_namespaceObject, {
43782
43744
  "Qd": function() { return draw_point; },
43783
43745
  "is": function() { return draw_polygon; },
43784
43746
  "Cx": function() { return draw; },
43785
- "FC": function() { return el_tree_select; },
43786
43747
  "tP": function() { return jsonFile; },
43787
43748
  "Gx": function() { return mapDraw; },
43788
43749
  "A": function() { return mapEvent; },
@@ -43950,6 +43911,245 @@ const setHigh = (id, filter) => {
43950
43911
  } = package_map;
43951
43912
  map.setFilter(id + '-high', filter);
43952
43913
  };
43914
+ ;// CONCATENATED MODULE: ./src/package/util/mapboxgl-control-minimap.js
43915
+
43916
+ function Minimap(options) {
43917
+ Object.assign(this.options, options);
43918
+ this._ticking = false;
43919
+ this._lastMouseMoveEvent = null;
43920
+ this._parentMap = null;
43921
+ this._isDragging = false;
43922
+ this._isCursorOverFeature = false;
43923
+ this._previousPoint = [0, 0];
43924
+ this._currentPoint = [0, 0];
43925
+ this._trackingRectCoordinates = [[[], [], [], [], []]];
43926
+ }
43927
+ Minimap.prototype = Object.assign({}, (mapbox_gl_default()).NavigationControl.prototype, {
43928
+ options: {
43929
+ id: 'mapboxgl-minimap',
43930
+ width: '320px',
43931
+ height: '180px',
43932
+ style: 'mapbox://styles/mapbox/satellite-v9',
43933
+ center: [0, 0],
43934
+ zoom: 6,
43935
+ // should be a function; will be bound to Minimap
43936
+ zoomAdjust: null,
43937
+ // if parent map zoom >= 18 and minimap zoom >= 14, set minimap zoom to 16
43938
+ zoomLevels: [[18, 14, 16], [16, 12, 14], [14, 10, 12], [12, 8, 10], [10, 6, 8]],
43939
+ lineColor: '#ff0000',
43940
+ lineWidth: 1,
43941
+ lineOpacity: 1,
43942
+ fillColor: '#fff',
43943
+ fillOpacity: 0.1,
43944
+ dragPan: false,
43945
+ scrollZoom: false,
43946
+ boxZoom: false,
43947
+ dragRotate: false,
43948
+ keyboard: false,
43949
+ doubleClickZoom: false,
43950
+ touchZoomRotate: false
43951
+ },
43952
+ onAdd: function (parentMap) {
43953
+ this._parentMap = parentMap;
43954
+ var opts = this.options;
43955
+ var container = this._container = this._createContainer(parentMap);
43956
+ var miniMap = this._miniMap = new (mapbox_gl_default()).Map({
43957
+ attributionControl: false,
43958
+ container: container,
43959
+ style: opts.style,
43960
+ zoom: opts.zoom,
43961
+ center: opts.center
43962
+ });
43963
+ if (opts.maxBounds) miniMap.setMaxBounds(opts.maxBounds);
43964
+ miniMap.on('load', this._load.bind(this));
43965
+ return this._container;
43966
+ },
43967
+ _load: function () {
43968
+ var opts = this.options;
43969
+ var parentMap = this._parentMap;
43970
+ var miniMap = this._miniMap;
43971
+ var interactions = ['dragPan', 'scrollZoom', 'boxZoom', 'dragRotate', 'keyboard', 'doubleClickZoom', 'touchZoomRotate'];
43972
+ interactions.forEach(function (i) {
43973
+ if (opts[i] !== true) {
43974
+ miniMap[i].disable();
43975
+ }
43976
+ });
43977
+ if (typeof opts.zoomAdjust === 'function') {
43978
+ this.options.zoomAdjust = opts.zoomAdjust.bind(this);
43979
+ } else if (opts.zoomAdjust === null) {
43980
+ this.options.zoomAdjust = this._zoomAdjust.bind(this);
43981
+ }
43982
+ var bounds = miniMap.getBounds();
43983
+ this._convertBoundsToPoints(bounds);
43984
+ miniMap.addSource('trackingRect', {
43985
+ 'type': 'geojson',
43986
+ 'data': {
43987
+ 'type': 'Feature',
43988
+ 'properties': {
43989
+ 'name': 'trackingRect'
43990
+ },
43991
+ 'geometry': {
43992
+ 'type': 'Polygon',
43993
+ 'coordinates': this._trackingRectCoordinates
43994
+ }
43995
+ }
43996
+ });
43997
+ miniMap.addLayer({
43998
+ 'id': 'trackingRectOutline',
43999
+ 'type': 'line',
44000
+ 'source': 'trackingRect',
44001
+ 'layout': {},
44002
+ 'paint': {
44003
+ 'line-color': opts.lineColor,
44004
+ 'line-width': opts.lineWidth,
44005
+ 'line-opacity': opts.lineOpacity
44006
+ }
44007
+ });
44008
+
44009
+ // needed for dragging
44010
+ miniMap.addLayer({
44011
+ 'id': 'trackingRectFill',
44012
+ 'type': 'fill',
44013
+ 'source': 'trackingRect',
44014
+ 'layout': {},
44015
+ 'paint': {
44016
+ 'fill-color': opts.fillColor,
44017
+ 'fill-opacity': opts.fillOpacity
44018
+ }
44019
+ });
44020
+ this._trackingRect = this._miniMap.getSource('trackingRect');
44021
+ this._update();
44022
+ parentMap.on('move', this._update.bind(this));
44023
+ miniMap.on('mousemove', this._mouseMove.bind(this));
44024
+ miniMap.on('mousedown', this._mouseDown.bind(this));
44025
+ miniMap.on('mouseup', this._mouseUp.bind(this));
44026
+ miniMap.on('touchmove', this._mouseMove.bind(this));
44027
+ miniMap.on('touchstart', this._mouseDown.bind(this));
44028
+ miniMap.on('touchend', this._mouseUp.bind(this));
44029
+ this._miniMapCanvas = miniMap.getCanvasContainer();
44030
+ this._miniMapCanvas.addEventListener('wheel', this._preventDefault);
44031
+ this._miniMapCanvas.addEventListener('mousewheel', this._preventDefault);
44032
+ },
44033
+ _mouseDown: function (e) {
44034
+ if (this._isCursorOverFeature) {
44035
+ this._isDragging = true;
44036
+ this._previousPoint = this._currentPoint;
44037
+ this._currentPoint = [e.lngLat.lng, e.lngLat.lat];
44038
+ }
44039
+ },
44040
+ _mouseMove: function (e) {
44041
+ this._ticking = false;
44042
+ var miniMap = this._miniMap;
44043
+ var features = miniMap.queryRenderedFeatures(e.point, {
44044
+ layers: ['trackingRectFill']
44045
+ });
44046
+
44047
+ // don't update if we're still hovering the area
44048
+ if (!(this._isCursorOverFeature && features.length > 0)) {
44049
+ this._isCursorOverFeature = features.length > 0;
44050
+ this._miniMapCanvas.style.cursor = this._isCursorOverFeature ? 'move' : '';
44051
+ }
44052
+ if (this._isDragging) {
44053
+ this._previousPoint = this._currentPoint;
44054
+ this._currentPoint = [e.lngLat.lng, e.lngLat.lat];
44055
+ var offset = [this._previousPoint[0] - this._currentPoint[0], this._previousPoint[1] - this._currentPoint[1]];
44056
+ var newBounds = this._moveTrackingRect(offset);
44057
+ this._parentMap.fitBounds(newBounds, {
44058
+ duration: 80,
44059
+ noMoveStart: true
44060
+ });
44061
+ }
44062
+ },
44063
+ _mouseUp: function () {
44064
+ this._isDragging = false;
44065
+ this._ticking = false;
44066
+ },
44067
+ _moveTrackingRect: function (offset) {
44068
+ var source = this._trackingRect;
44069
+ var data = source._data;
44070
+ var bounds = data.properties.bounds;
44071
+ bounds._ne.lat -= offset[1];
44072
+ bounds._ne.lng -= offset[0];
44073
+ bounds._sw.lat -= offset[1];
44074
+ bounds._sw.lng -= offset[0];
44075
+ this._convertBoundsToPoints(bounds);
44076
+ source.setData(data);
44077
+ return bounds;
44078
+ },
44079
+ _setTrackingRectBounds: function (bounds) {
44080
+ var source = this._trackingRect;
44081
+ var data = source._data;
44082
+ data.properties.bounds = bounds;
44083
+ this._convertBoundsToPoints(bounds);
44084
+ source.setData(data);
44085
+ },
44086
+ _convertBoundsToPoints: function (bounds) {
44087
+ var ne = bounds._ne;
44088
+ var sw = bounds._sw;
44089
+ var trc = this._trackingRectCoordinates;
44090
+ trc[0][0][0] = ne.lng;
44091
+ trc[0][0][1] = ne.lat;
44092
+ trc[0][1][0] = sw.lng;
44093
+ trc[0][1][1] = ne.lat;
44094
+ trc[0][2][0] = sw.lng;
44095
+ trc[0][2][1] = sw.lat;
44096
+ trc[0][3][0] = ne.lng;
44097
+ trc[0][3][1] = sw.lat;
44098
+ trc[0][4][0] = ne.lng;
44099
+ trc[0][4][1] = ne.lat;
44100
+ },
44101
+ _update: function (e) {
44102
+ if (this._isDragging) {
44103
+ return;
44104
+ }
44105
+ var parentBounds = this._parentMap.getBounds();
44106
+ this._setTrackingRectBounds(parentBounds);
44107
+ if (typeof this.options.zoomAdjust === 'function') {
44108
+ this.options.zoomAdjust();
44109
+ }
44110
+ },
44111
+ _zoomAdjust: function () {
44112
+ var miniMap = this._miniMap;
44113
+ var parentMap = this._parentMap;
44114
+ var miniZoom = parseInt(miniMap.getZoom(), 10);
44115
+ var parentZoom = parseInt(parentMap.getZoom(), 10);
44116
+ var levels = this.options.zoomLevels;
44117
+ var found = false;
44118
+ levels.forEach(function (zoom) {
44119
+ if (!found && parentZoom >= zoom[0]) {
44120
+ if (miniZoom >= zoom[1]) {
44121
+ miniMap.setZoom(zoom[2]);
44122
+ }
44123
+ miniMap.setCenter(parentMap.getCenter());
44124
+ found = true;
44125
+ }
44126
+ });
44127
+ if (!found && miniZoom !== this.options.zoom) {
44128
+ if (typeof this.options.bounds === 'object') {
44129
+ miniMap.fitBounds(this.options.bounds, {
44130
+ duration: 50
44131
+ });
44132
+ }
44133
+ miniMap.setZoom(this.options.zoom);
44134
+ }
44135
+ },
44136
+ _createContainer: function (parentMap) {
44137
+ var opts = this.options;
44138
+ var container = document.createElement('div');
44139
+ container.className = 'mapboxgl-ctrl-minimap mapboxgl-ctrl';
44140
+ container.setAttribute('style', 'width: ' + opts.width + '; height: ' + opts.height + ';');
44141
+ container.addEventListener('contextmenu', this._preventDefault);
44142
+ parentMap.getContainer().appendChild(container);
44143
+ if (opts.id !== '') {
44144
+ container.id = opts.id;
44145
+ }
44146
+ return container;
44147
+ },
44148
+ _preventDefault: function (e) {
44149
+ e.preventDefault();
44150
+ }
44151
+ });
44152
+ (mapbox_gl_default()).Minimap = Minimap;
43953
44153
  ;// CONCATENATED MODULE: ./src/package/map.js
43954
44154
  // 天地图token
43955
44155
  const tdtToken = (/* unused pure expression or super */ null && (['150bad890e9d004885a4b2a94062a46e', '337996a733e1ea41cd73124f67f4795d', '48282c15cce091a1154a674512372eec', 'f3c2ca3a170f5712abd7b6858e038f18']));
@@ -44041,6 +44241,7 @@ class mapSdk {
44041
44241
  this.accessToken = 'pk.eyJ1IjoiaGo0NjI3NzEzOTYiLCJhIjoiY2w5YzNjOTZvMDF6NDNwb2d6YmJkYWRpMCJ9.-fW-OChGB1oY2DCMO_c8sg';
44042
44242
  this.options = defaultOptions; // 初始参数
44043
44243
  this.map = null;
44244
+ (mapbox_gl_default()).miniMap = Minimap;
44044
44245
  this.mapBoxGl = (mapbox_gl_default());
44045
44246
  this.setInterval = ''; // 定时器
44046
44247
  }
@@ -118911,215 +119112,6 @@ var mapFullScreen_component = normalizeComponent(
118911
119112
  )
118912
119113
 
118913
119114
  /* harmony default export */ var mapFullScreen = (mapFullScreen_component.exports);
118914
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/package/components/el-tree-select.vue?vue&type=template&id=5a009b74&scoped=true&
118915
- var el_tree_selectvue_type_template_id_5a009b74_scoped_true_render = function render() {
118916
- var _vm = this,
118917
- _c = _vm._self._c;
118918
- return _c('el-select', _vm._b({
118919
- ref: "treeSelect",
118920
- staticStyle: {
118921
- "width": "100%"
118922
- },
118923
- attrs: {
118924
- "size": "small",
118925
- "value": _vm.valueTitle,
118926
- "clearable": _vm.clearable,
118927
- "popper-append-to-body": false
118928
- },
118929
- on: {
118930
- "clear": _vm.clearHandle
118931
- }
118932
- }, 'el-select', _vm.$attrs, false), [_c('div', [_c('el-input', _vm._b({
118933
- staticClass: "selectInput",
118934
- attrs: {
118935
- "size": "small",
118936
- "placeholder": _vm.placeholder
118937
- },
118938
- model: {
118939
- value: _vm.filterText,
118940
- callback: function ($$v) {
118941
- _vm.filterText = $$v;
118942
- },
118943
- expression: "filterText"
118944
- }
118945
- }, 'el-input', _vm.$attrs, false)), _c('el-option', {
118946
- staticClass: "options",
118947
- attrs: {
118948
- "value": _vm.valueTitle,
118949
- "label": _vm.valueTitle
118950
- }
118951
- }, [_c('el-tree', _vm._b({
118952
- ref: "selectTree",
118953
- attrs: {
118954
- "id": "tree-option",
118955
- "size": "small",
118956
- "accordion": _vm.accordion,
118957
- "data": _vm.options,
118958
- "props": _vm.props,
118959
- "node-key": _vm.props.value,
118960
- "default-expanded-keys": _vm.defaultExpandedKey,
118961
- "filter-node-method": _vm.filterNode
118962
- },
118963
- on: {
118964
- "node-click": _vm.handleNodeClick
118965
- }
118966
- }, 'el-tree', _vm.$attrs, false))], 1)], 1)]);
118967
- };
118968
- var el_tree_selectvue_type_template_id_5a009b74_scoped_true_staticRenderFns = [];
118969
-
118970
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/package/components/el-tree-select.vue?vue&type=script&lang=js&
118971
- /* harmony default export */ var el_tree_selectvue_type_script_lang_js_ = ({
118972
- name: 'el-tree-select',
118973
- props: {
118974
- /* 配置项 */
118975
- props: {
118976
- type: Object,
118977
- default: () => {
118978
- return {
118979
- value: 'id',
118980
- // ID字段名
118981
- label: 'title',
118982
- // 显示名称
118983
- children: 'children' // 子级字段名
118984
- };
118985
- }
118986
- },
118987
-
118988
- /* 选项列表数据(树形结构的对象数组) */
118989
- options: {
118990
- type: Array,
118991
- default: () => {
118992
- return [];
118993
- }
118994
- },
118995
- /* 初始值 */
118996
- value: {
118997
- type: Number,
118998
- default: () => {
118999
- return null;
119000
- }
119001
- },
119002
- /* 可清空选项 */
119003
- clearable: {
119004
- type: Boolean,
119005
- default: () => {
119006
- return true;
119007
- }
119008
- },
119009
- /* 自动收起 */
119010
- accordion: {
119011
- type: Boolean,
119012
- default: () => {
119013
- return false;
119014
- }
119015
- },
119016
- placeholder: {
119017
- type: String,
119018
- default: () => {
119019
- return '搜索关键字';
119020
- }
119021
- }
119022
- },
119023
- data() {
119024
- return {
119025
- filterText: '',
119026
- valueId: this.value,
119027
- // 初始值
119028
- valueTitle: '',
119029
- defaultExpandedKey: []
119030
- };
119031
- },
119032
- mounted() {
119033
- this.initHandle();
119034
- },
119035
- methods: {
119036
- // 初始化值
119037
- initHandle() {
119038
- if (this.valueId) {
119039
- this.valueTitle = this.$refs.selectTree.getNode(this.valueId).data[this.props.label]; // 初始化显示
119040
- this.$refs.selectTree.setCurrentKey(this.valueId); // 设置默认选中
119041
- this.defaultExpandedKey = [this.valueId]; // 设置默认展开
119042
- }
119043
-
119044
- this.initScroll();
119045
- },
119046
- // 初始化滚动条
119047
- initScroll() {
119048
- this.$nextTick(() => {
119049
- let scrollWrap = document.querySelectorAll('.el-scrollbar .el-select-dropdown__wrap')[0];
119050
- let scrollBar = document.querySelectorAll('.el-scrollbar .el-scrollbar__bar');
119051
- scrollWrap.style.cssText = 'margin: 0px; max-height: none; overflow: hidden;';
119052
- scrollBar.forEach(ele => ele.style.width = 0);
119053
- });
119054
- },
119055
- // 切换选项
119056
- handleNodeClick(node) {
119057
- this.valueTitle = node[this.props.label];
119058
- this.valueId = node[this.props.value];
119059
- this.$emit('getValue', this.valueId);
119060
- this.$emit('input', this.valueId);
119061
- // console.log(this.valueId)
119062
- this.defaultExpandedKey = [];
119063
- if (!node.children || !node.children.length) {
119064
- //补录选择完选项弹框不能收起
119065
- this.$refs.treeSelect.blur();
119066
- }
119067
- },
119068
- // 清除选中
119069
- clearHandle() {
119070
- this.valueTitle = '';
119071
- this.valueId = null;
119072
- this.defaultExpandedKey = [];
119073
- this.clearSelected();
119074
- this.$emit('getValue', null);
119075
- },
119076
- /* 清空选中样式 */
119077
- clearSelected() {
119078
- let allNode = document.querySelectorAll('#tree-option .el-tree-node');
119079
- allNode.forEach(element => element.classList.remove('is-current'));
119080
- },
119081
- filterNode(value, data) {
119082
- if (!value) return true;
119083
- return data.name.indexOf(value) !== -1;
119084
- }
119085
- },
119086
- watch: {
119087
- value() {
119088
- this.valueId = this.value;
119089
- this.initHandle();
119090
- },
119091
- filterText(val) {
119092
- this.$refs.selectTree.filter(val);
119093
- }
119094
- }
119095
- });
119096
- ;// CONCATENATED MODULE: ./src/package/components/el-tree-select.vue?vue&type=script&lang=js&
119097
- /* harmony default export */ var components_el_tree_selectvue_type_script_lang_js_ = (el_tree_selectvue_type_script_lang_js_);
119098
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/package/components/el-tree-select.vue?vue&type=style&index=0&id=5a009b74&prod&scoped=true&lang=css&
119099
- var el_tree_selectvue_type_style_index_0_id_5a009b74_prod_scoped_true_lang_css_ = __webpack_require__(5650);
119100
- ;// CONCATENATED MODULE: ./src/package/components/el-tree-select.vue?vue&type=style&index=0&id=5a009b74&prod&scoped=true&lang=css&
119101
-
119102
- ;// CONCATENATED MODULE: ./src/package/components/el-tree-select.vue
119103
-
119104
-
119105
-
119106
- ;
119107
-
119108
-
119109
- /* normalize component */
119110
-
119111
- var el_tree_select_component = normalizeComponent(
119112
- components_el_tree_selectvue_type_script_lang_js_,
119113
- el_tree_selectvue_type_template_id_5a009b74_scoped_true_render,
119114
- el_tree_selectvue_type_template_id_5a009b74_scoped_true_staticRenderFns,
119115
- false,
119116
- null,
119117
- "5a009b74",
119118
- null
119119
-
119120
- )
119121
-
119122
- /* harmony default export */ var el_tree_select = (el_tree_select_component.exports);
119123
119115
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/package/components/mapStyle.vue?vue&type=template&id=1a040aed&scoped=true&
119124
119116
  var mapStylevue_type_template_id_1a040aed_scoped_true_render = function render() {
119125
119117
  var _vm = this,
@@ -120535,6 +120527,7 @@ const mapTools = {
120535
120527
  loadImage: loadImage,
120536
120528
  ranging: ranging,
120537
120529
  drawArea: drawArea,
120530
+ spArray: spArray,
120538
120531
  clearDraw: clearDraw,
120539
120532
  distance: mapTools_distance,
120540
120533
  lineCenter: lineCenter,
@@ -120558,7 +120551,7 @@ const mapEvent = {
120558
120551
 
120559
120552
 
120560
120553
 
120561
- // 选择树组件
120554
+ // import elTreeSelect from './components/el-tree-select.vue' // 选择树组件
120562
120555
  // 修改地图风格
120563
120556
 
120564
120557