From c0bbc152add7a7479e5453ff1310df810ecdd049 Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期二, 21 二月 2023 10:54:43 +0800
Subject: [PATCH] 2023/2/21 肖辉 修改店铺管理,案卷查询,我的代办

---
 src/components/map/leafletMap.vue |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/components/map/leafletMap.vue b/src/components/map/leafletMap.vue
index eb74a74..d53bd34 100644
--- a/src/components/map/leafletMap.vue
+++ b/src/components/map/leafletMap.vue
@@ -42,6 +42,7 @@
     };
   },
   mounted() {
+    console.log('/* 鍒涘缓鍦板浘瀹炰緥 */')
     setTimeout(() => {
       this.createrMap();
     }, 100);
@@ -49,14 +50,28 @@
   methods: {
     /* 鍒涘缓鍦板浘瀹炰緥 */
     createrMap() {
+
       this.option.center = [eval(this.map_point.y), eval(this.map_point.x)];
       this.option.zoom = this.map_zoom;
       this.map = this.$map.createrMap("map-container", this.option);
       // this.$map.createrLayers(this.map, this.mapUrls) //鍒囩墖鍦板浘
       // this.$map.createrChinatm(this.map, this.mapUrl); // 鍥惧眰
+
       this.map.pm.setLang("zh");
       // this.map.pm.addControls(this.options);
+      // this.map.on("pm:drawstart", (e) => {
+      //   // // workingLayer.on('pm:create', e => {
+      //   // console.log("缁樺埗寮�濮�");
+      //   // console.log(e);
+      //   // // });
+      // });
+      // this.map.on("pm:drawend", (e) => {
+      //   // // workingLayer.on('pm:create', e => {
+      //   // console.log("缁樺埗缁撴潫");
+      //   // // });
+      // });
       this.locationMap();
+
     },
     locationMap() {
       if (this.mark && this.map) {

--
Gitblit v1.8.0