From 46d864e7188cf7f5c9378fbcb1a272568beec1f5 Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Mon, 13 Aug 2018 16:25:14 +0800
Subject: [PATCH] 默认打开网格

---
 src/main/webapp/view/map.jsp |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/view/map.jsp b/src/main/webapp/view/map.jsp
index 022fe90..5bab5e0 100644
--- a/src/main/webapp/view/map.jsp
+++ b/src/main/webapp/view/map.jsp
@@ -458,7 +458,11 @@
     // TODO ������
     function showGrid(){
         var isShowGrid = getUrlParam("isShowGrid");
-        if(!isShowGrid||moralMap.getZoom()<15){
+        if(!!isShowGrid){
+            $(".tools_box").hide();
+		}
+        // if(!isShowGrid||moralMap.getZoom()<14){
+        if(!isShowGrid){
            return;
 		}
         var XY = bs();

--
Gitblit v1.8.0