电子看板问题修改
This commit is contained in:
parent
558c4250a4
commit
f1b0e2ecd9
|
|
@ -9,7 +9,7 @@
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<meta name="format-detection" content="telephone=no">
|
<meta name="format-detection" content="telephone=no">
|
||||||
<title>电子看板后台管理系统</title>
|
<title>电子看板管理系统</title>
|
||||||
<link rel="stylesheet" href="css/font-awesome/css/font-awesome.css" media="all" />
|
<link rel="stylesheet" href="css/font-awesome/css/font-awesome.css" media="all" />
|
||||||
<link rel="stylesheet" href="css/index2.css" media="all" />
|
<link rel="stylesheet" href="css/index2.css" media="all" />
|
||||||
<link rel="stylesheet" href="css/global.css" media="all" />
|
<link rel="stylesheet" href="css/global.css" media="all" />
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
<div class="layui-main">
|
<div class="layui-main">
|
||||||
<div class="admin-login-box">
|
<div class="admin-login-box">
|
||||||
<a class="logo" style="left: 0;" href="javascript:void(0)">
|
<a class="logo" style="left: 0;" href="javascript:void(0)">
|
||||||
<span style="font-size: 22px;color: #fff;letter-spacing: 2px;">电子看板后台管理系统</span>
|
<span style="font-size: 22px;color: #fff;letter-spacing: 2px;">电子看板管理系统</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="admin-side-toggle" style="display: none;">
|
<div class="admin-side-toggle" style="display: none;">
|
||||||
<i class="fa fa-bars" aria-hidden="true"></i>
|
<i class="fa fa-bars" aria-hidden="true"></i>
|
||||||
|
|
|
||||||
|
|
@ -74,13 +74,15 @@ function initMap(list) {
|
||||||
// 以第一个点为中心初始化地图
|
// 以第一个点为中心初始化地图
|
||||||
map.centerAndZoom(new BMapGL.Point(intLng, intLat), 16);
|
map.centerAndZoom(new BMapGL.Point(intLng, intLat), 16);
|
||||||
|
|
||||||
map.setTilt(60); //设置地图的倾斜角度
|
map.setTilt(65); //设置地图的倾斜角度
|
||||||
map.enableScrollWheelZoom(true); // 启用滚轮缩放
|
map.enableScrollWheelZoom(true); // 启用滚轮缩放
|
||||||
// map.setTilt(60); // 设置地图倾斜角度
|
|
||||||
|
|
||||||
// map.setDisplayOptions({
|
// 设置显示3D建筑物
|
||||||
// building: true, // 显示3D建筑物
|
map.setDisplayOptions({
|
||||||
// });
|
building: true, // 显示3D建筑物
|
||||||
|
indoor: false,
|
||||||
|
poi: true
|
||||||
|
});
|
||||||
var navigationControl = new BMapGL.NavigationControl3D();
|
var navigationControl = new BMapGL.NavigationControl3D();
|
||||||
map.addControl(navigationControl);
|
map.addControl(navigationControl);
|
||||||
|
|
||||||
|
|
@ -167,14 +169,6 @@ function initMap(list) {
|
||||||
styleJson,
|
styleJson,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// 正确做法:确保只添加一次
|
|
||||||
/*if (!map._clickListenerAdded) {
|
|
||||||
map.addEventListener("click", function(e) {
|
|
||||||
addMarker(e.latlng.lng, e.latlng.lat);
|
|
||||||
});
|
|
||||||
map._clickListenerAdded = true; // 标记已添加
|
|
||||||
}*/
|
|
||||||
|
|
||||||
initTowerLine(list);
|
initTowerLine(list);
|
||||||
if (objParams.points) {
|
if (objParams.points) {
|
||||||
let points = JSON.parse(objParams.points)
|
let points = JSON.parse(objParams.points)
|
||||||
|
|
@ -273,7 +267,7 @@ function initTowerLine(points) {
|
||||||
);
|
);
|
||||||
// 4. 设置3D参数
|
// 4. 设置3D参数
|
||||||
var zoom = map.getZoom();
|
var zoom = map.getZoom();
|
||||||
var newTilt = 60;
|
var newTilt = 65;
|
||||||
var newHeading = 30;
|
var newHeading = 30;
|
||||||
|
|
||||||
// 5. 应用3D视角
|
// 5. 应用3D视角
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="login">
|
<div class="login">
|
||||||
<div class="message">电子看板后台管理系统</div>
|
<div class="message">电子看板管理系统</div>
|
||||||
<div id="darkbannerwrap"></div>
|
<div id="darkbannerwrap"></div>
|
||||||
|
|
||||||
<form id="login-form" method="post" onsubmit="return false;">
|
<form id="login-form" method="post" onsubmit="return false;">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue