vue2-openlayers 0.1.4 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,10 @@
1
1
  {
2
2
  "name": "vue2-openlayers",
3
- "version": "0.1.4",
3
+ "version": "0.1.7",
4
4
  "private": false,
5
+ "author": "ifyang",
6
+ "license": "MIT",
7
+ "main": "./vue2-openlayers.common.js",
5
8
  "scripts": {
6
9
  "dev": "vue-cli-service serve",
7
10
  "build": "vue-cli-service build",
@@ -15,7 +18,8 @@
15
18
  "@turf/turf": "^7.0.0",
16
19
  "core-js": "^3.8.3",
17
20
  "ol": "^9.2.4",
18
- "vue": "^2.6.14"
21
+ "vue": "^2.6.14",
22
+ "vue-template-compiler": "^2.7.16"
19
23
  },
20
24
  "devDependencies": {
21
25
  "@babel/core": "^7.12.16",
@@ -23,15 +27,14 @@
23
27
  "@vue/cli-plugin-babel": "~5.0.0",
24
28
  "@vue/cli-plugin-eslint": "~5.0.0",
25
29
  "@vue/cli-service": "~5.0.0",
30
+ "echarts": "4.9.0",
26
31
  "eslint": "^7.32.0",
27
32
  "eslint-plugin-vue": "^8.0.3",
28
33
  "postcss-pxtorem": "^6.1.0",
29
- "vue-template-compiler": "^2.6.14",
30
- "vuepress": "^1.9.10",
31
- "echarts": "4.9.0",
32
34
  "px2rem-loader": "^0.1.9",
33
35
  "sass": "^1.43.4",
34
- "sass-loader": "^14.2.1"
36
+ "sass-loader": "^14.2.1",
37
+ "vuepress": "^1.9.10"
35
38
  },
36
39
  "eslintConfig": {
37
40
  "root": true,
@@ -5887,12 +5887,12 @@ if (typeof window !== 'undefined') {
5887
5887
  // Indicate to webpack that this file can be concatenated
5888
5888
  /* harmony default export */ var setPublicPath = (null);
5889
5889
 
5890
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/YlMap.vue?vue&type=template&id=d8c9bfda&scoped=true
5890
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/YlMap.vue?vue&type=template&id=dd63274a&scoped=true
5891
5891
  var render = function render() {
5892
5892
  var _vm = this,
5893
5893
  _c = _vm._self._c;
5894
5894
  return _c('div', {
5895
- staticClass: "wapper"
5895
+ staticClass: "yl-map-wapper"
5896
5896
  }, [_c('div', {
5897
5897
  ref: _vm.mapId,
5898
5898
  staticStyle: {
@@ -5902,12 +5902,7 @@ var render = function render() {
5902
5902
  attrs: {
5903
5903
  "id": _vm.mapId
5904
5904
  }
5905
- }, [_vm._t("yl-map-layers"), _c('div', {
5906
- staticClass: "ol-popup",
5907
- attrs: {
5908
- "id": "popup"
5909
- }
5910
- }, [_vm._t("yl-map-overlay")], 2)], 2)]);
5905
+ }, [_vm._t("default")], 2)]);
5911
5906
  };
5912
5907
  var staticRenderFns = [];
5913
5908
 
@@ -42600,20 +42595,9 @@ class Overlay extends ol_Object {
42600
42595
  /* harmony default export */ var YlMapvue_type_script_lang_js = ({
42601
42596
  name: "YlMap",
42602
42597
  props: {
42603
- baseMap: {
42604
- type: Object,
42605
- default: function () {
42606
- // openlayers叠加mapbox自定义底图
42607
- let accessToken = 'pk.eyJ1IjoiZ2FwNDE3IiwiYSI6ImNseTlsc2J3ZDBvZGwybHNhanhnbWRibTMifQ.QSQ15RREYt2jYX79hNeMnA';
42608
- let mapBoxStyleId = 'clybcf4b900dp01pf94zj0mbh';
42609
- let mapboxUserName = 'gap417';
42610
- return new layer_Tile({
42611
- source: new source_XYZ({
42612
- url: `https://api.mapbox.com/styles/v1/${mapboxUserName}/${mapBoxStyleId}/tiles/256/{z}/{x}/{y}?access_token=${accessToken}`
42613
- }),
42614
- name: "底图"
42615
- });
42616
- }
42598
+ mapUrl: {
42599
+ type: String,
42600
+ default: 'https://webrd04.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=7&x={x}&y={y}&z={z}'
42617
42601
  },
42618
42602
  center: {
42619
42603
  type: Array,
@@ -42648,28 +42632,28 @@ class Overlay extends ol_Object {
42648
42632
  methods: {
42649
42633
  //弹窗
42650
42634
  showPopup(parms) {
42651
- // parms.element = document.getElementById('popup');
42652
- console.info(parms);
42653
- //弹窗显示方法
42654
- this.overlay = new ol_Overlay({
42655
- element: document.getElementById('popup'),
42656
- //是否自动平移,即假如标记在屏幕边缘,弹出时自动平移地图使弹出框完全可见
42657
- autoPan: parms.duration != null ? true : false,
42658
- autoPanAnimation: {
42659
- duration: parms.duration
42660
- },
42661
- offset: [5, -25],
42662
- // 偏移量
42663
- positioning: "bottom-center",
42664
- // 对齐方式
42665
- coordinate: [104.06, 30.67],
42666
- // 位置
42667
- ...parms
42668
- });
42669
- //设置overlay的显示位置
42670
- this.overlay.setPosition(parms.position);
42671
- //显示overlay
42672
- this.map.addOverlay(this.overlay);
42635
+ if (parms && parms.element) {
42636
+ //弹窗显示方法
42637
+ this.overlay = new ol_Overlay({
42638
+ element: document.getElementById('popup'),
42639
+ //是否自动平移,即假如标记在屏幕边缘,弹出时自动平移地图使弹出框完全可见
42640
+ autoPan: parms.duration != null ? true : false,
42641
+ autoPanAnimation: {
42642
+ duration: parms.duration
42643
+ },
42644
+ offset: [5, -25],
42645
+ // 偏移量
42646
+ positioning: "bottom-center",
42647
+ // 对齐方式
42648
+ coordinate: [104.06, 30.67],
42649
+ // 位置
42650
+ ...parms
42651
+ });
42652
+ //设置overlay的显示位置
42653
+ this.overlay.setPosition(parms.position);
42654
+ //显示overlay
42655
+ this.map.addOverlay(this.overlay);
42656
+ }
42673
42657
  },
42674
42658
  close() {
42675
42659
  //弹窗关闭方法(防止外部调用此方法——所以先要判断是否为空)
@@ -42696,19 +42680,48 @@ class Overlay extends ol_Object {
42696
42680
  box3 = Math.max.apply(null, box3s);
42697
42681
  box4 = Math.max.apply(null, box4s);
42698
42682
  let view = this.map.getView();
42699
- // let size = this.map.getSize();
42683
+ // let size = this.map.getSize();
42700
42684
  let mzoom = view.getZoom();
42701
42685
  let coorBox = [box1, box2, box3, box4];
42702
42686
  //fit()其它属性无效--暂定解决方案 animate
42703
42687
  view.fit(coorBox);
42704
42688
  if (state) {
42705
42689
  view.animate({
42706
- zoom: zoom == undefined ? mzoom : zoom,
42707
- duration: duration == undefined ? 1000 : duration
42690
+ zoom: zoom ? mzoom : zoom,
42691
+ duration: duration ? 1000 : duration
42708
42692
  });
42709
42693
  }
42710
42694
  }
42711
42695
  },
42696
+ fitViewSource(source) {
42697
+ let view = this.map.getView();
42698
+ var feature = source.getFeatures()[0];
42699
+ var polygon = feature.getGeometry();
42700
+ view.fit(polygon, {
42701
+ padding: [50, 50, 50, 150]
42702
+ });
42703
+ },
42704
+ fitViewfeature(feature) {
42705
+ let view = this.map.getView();
42706
+ var polygon = feature.getGeometry();
42707
+ view.fit(polygon, {
42708
+ padding: [300, 300, 300, 150]
42709
+ });
42710
+ },
42711
+ fitCenter(center, zoom, duration = 700) {
42712
+ let view = this.map.getView();
42713
+ let mzoom = view.getZoom();
42714
+ function flyTo(location) {
42715
+ view.animate({
42716
+ center: location,
42717
+ duration: duration,
42718
+ zoom: mzoom ? mzoom : zoom
42719
+ });
42720
+ }
42721
+ if (center[0] && center[1]) {
42722
+ flyTo(center);
42723
+ }
42724
+ },
42712
42725
  CustomEvent() {
42713
42726
  let _this = this;
42714
42727
  class Drag extends Pointer {
@@ -42764,9 +42777,16 @@ class Overlay extends ol_Object {
42764
42777
  //点击后执行的事件
42765
42778
  function clickEvent() {
42766
42779
  // 点击回调事件
42767
- _this.$emit("handleDownEvent", evt.coordinate, feature.values_._md_ == undefined ? feature.values_ : feature.values_._md_, feature);
42780
+ _this.$emit("handleDownFeatureEvent", {
42781
+ evtCoordinate: evt.coordinate,
42782
+ value: feature.values_._md_ == undefined ? feature.values_ : feature.values_._md_,
42783
+ feature: feature,
42784
+ evt: evt,
42785
+ featureCoordinate: feature.getGeometry().getCoordinates()
42786
+ });
42768
42787
  }
42769
42788
  });
42789
+ _this.$emit("handleDownEvent", evt);
42770
42790
  }
42771
42791
 
42772
42792
  /**
@@ -42816,12 +42836,12 @@ class Overlay extends ol_Object {
42816
42836
  }
42817
42837
  },
42818
42838
  created() {
42819
- console.info("map-created");
42839
+ // console.info("map-created");
42820
42840
  this.mapId = "map" + new Date().getTime();
42821
42841
  },
42822
42842
  mounted() {
42823
42843
  let CustomEvent = this.CustomEvent();
42824
- console.info("地图组件挂载,id:" + this.mapId);
42844
+ // console.info("地图组件挂载,id:" + this.mapId);
42825
42845
  let view = new ol_View({
42826
42846
  center: this.center,
42827
42847
  projection: "EPSG:4326",
@@ -42833,14 +42853,19 @@ class Overlay extends ol_Object {
42833
42853
  const map = new ol_Map({
42834
42854
  interactions: defaults_defaults().extend([new CustomEvent()]),
42835
42855
  target: this.$refs[this.mapId],
42836
- layers: [this.baseMap],
42856
+ layers: [new layer_Tile({
42857
+ source: new source_XYZ({
42858
+ url: this.mapUrl
42859
+ }),
42860
+ name: "底图"
42861
+ })],
42837
42862
  view: view
42838
42863
  });
42839
42864
  this.map = map;
42840
42865
  // this.$bus.$emit(this.mapId + "ready", {});
42841
42866
  },
42842
42867
  beforeDestroy() {
42843
- console.info("map-beforeDestroy");
42868
+ // console.info("map-beforeDestroy");
42844
42869
  if (this.map) {
42845
42870
  this.map.setTarget(null);
42846
42871
  this.map = null;
@@ -42849,10 +42874,10 @@ class Overlay extends ol_Object {
42849
42874
  });
42850
42875
  ;// CONCATENATED MODULE: ./packages/yl-map/YlMap.vue?vue&type=script&lang=js
42851
42876
  /* harmony default export */ var yl_map_YlMapvue_type_script_lang_js = (YlMapvue_type_script_lang_js);
42852
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/YlMap.vue?vue&type=style&index=0&id=d8c9bfda&prod&scoped=true&lang=css
42877
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/YlMap.vue?vue&type=style&index=0&id=dd63274a&prod&scoped=true&lang=css
42853
42878
  // extracted by mini-css-extract-plugin
42854
42879
 
42855
- ;// CONCATENATED MODULE: ./packages/yl-map/YlMap.vue?vue&type=style&index=0&id=d8c9bfda&prod&scoped=true&lang=css
42880
+ ;// CONCATENATED MODULE: ./packages/yl-map/YlMap.vue?vue&type=style&index=0&id=dd63274a&prod&scoped=true&lang=css
42856
42881
 
42857
42882
  ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
42858
42883
  /* globals __VUE_SSR_CONTEXT__ */
@@ -42967,7 +42992,7 @@ var component = normalizeComponent(
42967
42992
  staticRenderFns,
42968
42993
  false,
42969
42994
  null,
42970
- "d8c9bfda",
42995
+ "dd63274a",
42971
42996
  null
42972
42997
 
42973
42998
  )
@@ -42979,13 +43004,13 @@ YlMap.install = function (Vue) {
42979
43004
  Vue.component(YlMap.name, YlMap);
42980
43005
  };
42981
43006
  /* harmony default export */ var yl_map = (YlMap);
42982
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-line/YlLine.vue?vue&type=template&id=015841aa&scoped=true
42983
- var YlLinevue_type_template_id_015841aa_scoped_true_render = function render() {
43007
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-line/YlLine.vue?vue&type=template&id=a3ffcf04&scoped=true
43008
+ var YlLinevue_type_template_id_a3ffcf04_scoped_true_render = function render() {
42984
43009
  var _vm = this,
42985
43010
  _c = _vm._self._c;
42986
43011
  return _c('div');
42987
43012
  };
42988
- var YlLinevue_type_template_id_015841aa_scoped_true_staticRenderFns = [];
43013
+ var YlLinevue_type_template_id_a3ffcf04_scoped_true_staticRenderFns = [];
42989
43014
 
42990
43015
  ;// CONCATENATED MODULE: ./node_modules/ol/structs/RBush.js
42991
43016
  /**
@@ -53377,7 +53402,7 @@ function localConvert(list, lngName, latName, usePR) {
53377
53402
  lng: n[lngName]
53378
53403
  };
53379
53404
  });
53380
- console.info('批量坐标转换数量:' + locations.length);
53405
+ // console.info('批量坐标转换数量:'+locations.length);
53381
53406
  let results = batchGps2gd(locations);
53382
53407
  if (usePR) {
53383
53408
  for (let i = 0; i < results.length; i++) {
@@ -53391,7 +53416,7 @@ function localConvert(list, lngName, latName, usePR) {
53391
53416
  }
53392
53417
  }
53393
53418
  } else if (list instanceof Object && list != null && list != undefined) {
53394
- console.info('转换坐标1个');
53419
+ // console.info('转换坐标1个');
53395
53420
  let res = gps2gd(list[latName], list[lngName]);
53396
53421
  if (usePR) {
53397
53422
  list.P = res.lat;
@@ -53541,7 +53566,7 @@ function gpsToGd(wgLon, wgLat) {
53541
53566
  setLineStyle(info) {
53542
53567
  // 优化 方法调用 多次调用问题
53543
53568
  let style = this.lineFun(info);
53544
- if (style && style.color && style.width) {
53569
+ if (style) {
53545
53570
  let lintStyle = new style_Style({
53546
53571
  stroke: new style_Stroke({
53547
53572
  //地图连线的样式
@@ -53602,9 +53627,9 @@ function gpsToGd(wgLon, wgLat) {
53602
53627
  // todo 事件监听 优化
53603
53628
  // 任务调度
53604
53629
  // 兼容 vue3没有bus
53605
- this.$bus.$on(this.$parent.mapId + "ready", () => {
53606
- this.initData();
53607
- });
53630
+ // this.$bus.$on(this.$parent.mapId + "ready", () => {
53631
+ // this.initData();
53632
+ // });
53608
53633
  },
53609
53634
  beforeMount() {},
53610
53635
  mounted() {},
@@ -53624,11 +53649,11 @@ function gpsToGd(wgLon, wgLat) {
53624
53649
  ;
53625
53650
  var YlLine_component = normalizeComponent(
53626
53651
  yl_line_YlLinevue_type_script_lang_js,
53627
- YlLinevue_type_template_id_015841aa_scoped_true_render,
53628
- YlLinevue_type_template_id_015841aa_scoped_true_staticRenderFns,
53652
+ YlLinevue_type_template_id_a3ffcf04_scoped_true_render,
53653
+ YlLinevue_type_template_id_a3ffcf04_scoped_true_staticRenderFns,
53629
53654
  false,
53630
53655
  null,
53631
- "015841aa",
53656
+ "a3ffcf04",
53632
53657
  null
53633
53658
 
53634
53659
  )
@@ -54059,13 +54084,13 @@ YlPoint.install = function (Vue) {
54059
54084
  Vue.component(YlPoint.name, YlPoint);
54060
54085
  };
54061
54086
  /* harmony default export */ var yl_point = (YlPoint);
54062
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-fiy-line/YlFiyLine.vue?vue&type=template&id=4ee1c066&scoped=true
54063
- var YlFiyLinevue_type_template_id_4ee1c066_scoped_true_render = function render() {
54087
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-fiy-line/YlFiyLine.vue?vue&type=template&id=568a88e4&scoped=true
54088
+ var YlFiyLinevue_type_template_id_568a88e4_scoped_true_render = function render() {
54064
54089
  var _vm = this,
54065
54090
  _c = _vm._self._c;
54066
54091
  return _c('div');
54067
54092
  };
54068
- var YlFiyLinevue_type_template_id_4ee1c066_scoped_true_staticRenderFns = [];
54093
+ var YlFiyLinevue_type_template_id_568a88e4_scoped_true_staticRenderFns = [];
54069
54094
 
54070
54095
  ;// CONCATENATED MODULE: ./node_modules/ol/geom/MultiPoint.js
54071
54096
  /**
@@ -58388,18 +58413,18 @@ var turf_length_default = (/* unused pure expression or super */ null && (esm_le
58388
58413
  },
58389
58414
  beforeCreate() {},
58390
58415
  created() {
58391
- this.$bus.$on(this.$parent.mapId + "ready", () => {
58392
- if (this.map == null) {
58393
- this.map = this.$parent.map;
58394
- }
58395
- if (this.mapLayers.length > 0) {
58396
- for (let i in this.mapLayers) {
58397
- this.map.removeLayer(this.mapLayers[i]);
58398
- }
58399
- this.mapLayers = [];
58400
- }
58401
- this.addPointLayer();
58402
- });
58416
+ // this.$bus.$on(this.$parent.mapId + "ready", () => {
58417
+ // if (this.map == null) {
58418
+ // this.map = this.$parent.map;
58419
+ // }
58420
+ // if (this.mapLayers.length > 0) {
58421
+ // for (let i in this.mapLayers) {
58422
+ // this.map.removeLayer(this.mapLayers[i]);
58423
+ // }
58424
+ // this.mapLayers = [];
58425
+ // }
58426
+ // this.addPointLayer();
58427
+ // });
58403
58428
  },
58404
58429
  beforeMount() {},
58405
58430
  mounted() {},
@@ -58420,11 +58445,11 @@ var turf_length_default = (/* unused pure expression or super */ null && (esm_le
58420
58445
  ;
58421
58446
  var YlFiyLine_component = normalizeComponent(
58422
58447
  yl_fiy_line_YlFiyLinevue_type_script_lang_js,
58423
- YlFiyLinevue_type_template_id_4ee1c066_scoped_true_render,
58424
- YlFiyLinevue_type_template_id_4ee1c066_scoped_true_staticRenderFns,
58448
+ YlFiyLinevue_type_template_id_568a88e4_scoped_true_render,
58449
+ YlFiyLinevue_type_template_id_568a88e4_scoped_true_staticRenderFns,
58425
58450
  false,
58426
58451
  null,
58427
- "4ee1c066",
58452
+ "568a88e4",
58428
58453
  null
58429
58454
 
58430
58455
  )
@@ -58436,13 +58461,13 @@ YlFiyLine.install = function (Vue) {
58436
58461
  Vue.component(YlFiyLine.name, YlFiyLine);
58437
58462
  };
58438
58463
  /* harmony default export */ var yl_fiy_line = (YlFiyLine);
58439
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-geo-json/YlGeoJson.vue?vue&type=template&id=365d966c&scoped=true
58440
- var YlGeoJsonvue_type_template_id_365d966c_scoped_true_render = function render() {
58464
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-geo-json/YlGeoJson.vue?vue&type=template&id=26b6c6d8&scoped=true
58465
+ var YlGeoJsonvue_type_template_id_26b6c6d8_scoped_true_render = function render() {
58441
58466
  var _vm = this,
58442
58467
  _c = _vm._self._c;
58443
58468
  return _c('div');
58444
58469
  };
58445
- var YlGeoJsonvue_type_template_id_365d966c_scoped_true_staticRenderFns = [];
58470
+ var YlGeoJsonvue_type_template_id_26b6c6d8_scoped_true_staticRenderFns = [];
58446
58471
 
58447
58472
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-geo-json/YlGeoJson.vue?vue&type=script&lang=js
58448
58473
  /**
@@ -58558,9 +58583,9 @@ var YlGeoJsonvue_type_template_id_365d966c_scoped_true_staticRenderFns = [];
58558
58583
  },
58559
58584
  beforeCreate() {},
58560
58585
  created() {
58561
- this.$bus.$on(this.$parent.mapId + "ready", () => {
58562
- this.initData();
58563
- });
58586
+ // this.$bus.$on(this.$parent.mapId + "ready", () => {
58587
+ // this.initData();
58588
+ // });
58564
58589
  },
58565
58590
  beforeMount() {},
58566
58591
  mounted() {},
@@ -58570,10 +58595,10 @@ var YlGeoJsonvue_type_template_id_365d966c_scoped_true_staticRenderFns = [];
58570
58595
  });
58571
58596
  ;// CONCATENATED MODULE: ./packages/yl-map/yl-geo-json/YlGeoJson.vue?vue&type=script&lang=js
58572
58597
  /* harmony default export */ var yl_geo_json_YlGeoJsonvue_type_script_lang_js = (YlGeoJsonvue_type_script_lang_js);
58573
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-geo-json/YlGeoJson.vue?vue&type=style&index=0&id=365d966c&prod&scoped=true&lang=css
58598
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-geo-json/YlGeoJson.vue?vue&type=style&index=0&id=26b6c6d8&prod&scoped=true&lang=css
58574
58599
  // extracted by mini-css-extract-plugin
58575
58600
 
58576
- ;// CONCATENATED MODULE: ./packages/yl-map/yl-geo-json/YlGeoJson.vue?vue&type=style&index=0&id=365d966c&prod&scoped=true&lang=css
58601
+ ;// CONCATENATED MODULE: ./packages/yl-map/yl-geo-json/YlGeoJson.vue?vue&type=style&index=0&id=26b6c6d8&prod&scoped=true&lang=css
58577
58602
 
58578
58603
  ;// CONCATENATED MODULE: ./packages/yl-map/yl-geo-json/YlGeoJson.vue
58579
58604
 
@@ -58586,11 +58611,11 @@ var YlGeoJsonvue_type_template_id_365d966c_scoped_true_staticRenderFns = [];
58586
58611
 
58587
58612
  var YlGeoJson_component = normalizeComponent(
58588
58613
  yl_geo_json_YlGeoJsonvue_type_script_lang_js,
58589
- YlGeoJsonvue_type_template_id_365d966c_scoped_true_render,
58590
- YlGeoJsonvue_type_template_id_365d966c_scoped_true_staticRenderFns,
58614
+ YlGeoJsonvue_type_template_id_26b6c6d8_scoped_true_render,
58615
+ YlGeoJsonvue_type_template_id_26b6c6d8_scoped_true_staticRenderFns,
58591
58616
  false,
58592
58617
  null,
58593
- "365d966c",
58618
+ "26b6c6d8",
58594
58619
  null
58595
58620
 
58596
58621
  )