From d74734fd32b892c4e71dccc0f85db7f3e9d36f18 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Tue, 27 Apr 2021 09:14:34 +0800
Subject: [PATCH] websocket调整

---
 public/map/widgets/map/MapWidget.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/public/map/widgets/map/MapWidget.js b/public/map/widgets/map/MapWidget.js
index 9a19124..9039070 100644
--- a/public/map/widgets/map/MapWidget.js
+++ b/public/map/widgets/map/MapWidget.js
@@ -96,7 +96,7 @@
                 logo: this._parseResult.maplogo,
                 showAttribution: true,
                 extent: extent,
-                maxZoom: 17,
+                maxZoom: 19,
                 minZoom: 0,
                 navigationMode: "classic"
             });
@@ -116,7 +116,7 @@
 
             this._addLayer();
             this._eventHandlers.push(this.map.on("extent-change", lang.hitch(this, this._onExtentChange)));
-            this._eventHandlers.push(this.map.on("mouse-move", lang.hitch(this, this._onMouseMove)));
+            // this._eventHandlers.push(this.map.on("mouse-move", lang.hitch(this, this._onMouseMove)));
             AppEvent.addAppEventListener(AppEvent.SWITCH_BASEMAP, lang.hitch(this, this.onSwitchBaseMap));
             AppEvent.addAppEventListener(AppEvent.ADD_TOP_MOST_LAYER, lang.hitch(this, this.onAddTopMostLayer));
         },

--
Gitblit v1.9.3