From a7a86324ae4e519b8ee0a3fa3038f3afa2e14dec Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 04 Feb 2021 13:49:35 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/jfpt-Vue

---
 public/map/controls/toolbar/tools/LocationTool.js |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/public/map/controls/toolbar/tools/LocationTool.js b/public/map/controls/toolbar/tools/LocationTool.js
index b8d4a01..01c3ce5 100644
--- a/public/map/controls/toolbar/tools/LocationTool.js
+++ b/public/map/controls/toolbar/tools/LocationTool.js
@@ -3,8 +3,8 @@
  * @Version: 1.0
  * @Author: yangsx
  * @Date: 2019-12-09 19:01:40
- * @LastEditors: yangsx
- * @LastEditTime: 2019-12-14 10:47:05
+ * @LastEditors: song
+ * @LastEditTime: 2021-02-03 17:11:24
  */
 /**
  * 位置查询工具
@@ -30,12 +30,12 @@
     activate: function(args) {
       this.inherited(arguments);
       var extent = new Extent({
-        xmin: 117.32627608398445,
-        ymin: 26.028863800659224,
-        xmax: 119.20493819335945,
-        ymax: 27.11788357604985,
-        spatialReference: { wkid: 4326 }
-      });
+        "xmin": 12881727,
+        "ymin": 3326410,
+        "xmax": 12918360,
+        "ymax": 3344162,
+        "spatialReference": { "wkid": 102100 }
+    });
       console.log(1234,extent);
       
       this._map.setExtent(extent);
@@ -46,12 +46,12 @@
     deactivate: function() {
       this.inherited(arguments);
       var extent = new Extent({
-        xmin: 117.32627608398445,
-        ymin: 26.028863800659224,
-        xmax: 119.20493819335945,
-        ymax: 27.11788357604985,
-        spatialReference: { wkid: 4326 }
-      });
+        "xmin": 12881727,
+        "ymin": 3326410,
+        "xmax": 12918360,
+        "ymax": 3344162,
+        "spatialReference": { "wkid": 102100 }
+    });
       console.log(1234,extent);
       this._map.setExtent(extent);
     }

--
Gitblit v1.9.3