| | |
| | | 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; |
| | |
| | | // 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(); |