From e0effd273f8639bb0f919abab50811eb59fdb8f7 Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Mon, 13 Aug 2018 16:39:16 +0800
Subject: [PATCH] 地图网格 边透明0.5
---
src/main/webapp/view/map.jsp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/view/map.jsp b/src/main/webapp/view/map.jsp
index 6c1c04a..aaf60a6 100644
--- a/src/main/webapp/view/map.jsp
+++ b/src/main/webapp/view/map.jsp
@@ -305,8 +305,9 @@
if(!!mapType && !!eval(mapType)) {
mapOption["mapType"] = eval(mapType);
}
+ var showZoom = getUrlParam("showZoom");
//������������������������������
- moralMap.mapInit(params["regionName"],mapOption);
+ moralMap.mapInit(params["regionName"],mapOption,showZoom);
//������������
var listView =moralMap.initListView({id: "#equ_list",pageSize:12});
window["listView"] = listView;
@@ -461,6 +462,7 @@
if(!!isShowGrid){
$(".tools_box").hide();
}
+ // if(!isShowGrid||moralMap.getZoom()<14){
if(!isShowGrid||moralMap.getZoom()<14){
return;
}
@@ -475,7 +477,7 @@
new BMap.Point(i, j-0.0048), //������������������
new BMap.Point(i+0.0063, j-0.0048), //������������������
new BMap.Point(i+0.0063, j) //������������������
- ], {strokeColor:"blue", strokeWeight:2, strokeOpacity:1, fillOpacity:0.1});
+ ], {strokeColor:"blue", strokeWeight:2, strokeOpacity:0.5, fillOpacity:0.1});
// polygon .addEventListener("click",function clickFunction(){
// alert("������������������");
// });
--
Gitblit v1.8.0