From 667a5d1cf1f9684d76cd02e92383e89affd92a9b Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Mon, 13 Aug 2018 16:43:07 +0800
Subject: [PATCH] 提交地图修改
---
src/main/webapp/view/map.jsp | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/main/webapp/view/map.jsp b/src/main/webapp/view/map.jsp
index 022fe90..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;
@@ -458,7 +459,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||moralMap.getZoom()<14){
return;
}
var XY = bs();
@@ -472,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