优化地图-添加地图页面以及设备树

This commit is contained in:
648540858
2022-04-08 18:09:23 +08:00
parent 81f1b8ee25
commit ba8633e99a
25 changed files with 1076 additions and 579 deletions

View File

@@ -12,8 +12,26 @@
<script type="text/javascript" src="./static/js/jessibuca/jessibuca.js"></script>
<script type="text/javascript" src="./static/js/EasyWasmPlayer.js"></script>
<script type="text/javascript" src="./static/js/ZLMRTCClient.js"></script>
<script type="text/javascript" src="//api.map.baidu.com/api?v=2.0&ak=rk73w8dv1rkE4UdZsataG68VarhYQzrx&s=1"></script>
<div id="app"></div>
<!-- built files will be auto injected -->
<script>
// map组件全局参数
window.mapParam = {
// 坐标系 GCJ-02 WGS-84, 默认WGS-84
coordinateSystem: "GCJ-02",
// 地图瓦片地址
tilesUrl: "http://webrd0{1-4}.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scale=1&style=8",
// 瓦片大小
tileSize: 512,
// 默认层级
zoom:10,
// 默认地图中心点
center:[116.41020, 39.915119],
// 地图最大层级
maxZoom:19,
// 地图最小层级
minZoom: 3
}
</script>
</body>
</html>