Browse Source

修改地图

wangchao 3 năm trước cách đây
mục cha
commit
c201775f93
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      static/map_0107.html

+ 3 - 3
static/map_0105.html → static/map_0107.html

@@ -62,7 +62,7 @@
 
 	<body>
 		<div id="map"></div>
-		<div id="progressBar" class="progressBar">地图数据加载中,请稍等...</div>
+		<div id="progressBar" class="progressBar">地图数据加载中...</div>
 		<script
 			src="https://webapi.amap.com/maps?v=2.0&key=211dd6f989e719022aaf47ddb0659c47&plugin=AMap.Scale,AMap.ToolBar,AMap.Geocoder,AMap.Geolocation,Geolocation">
 		</script>
@@ -157,11 +157,11 @@
 					console.log("mapPointData", mapPointData)
 					console.log("mapPointData", mapLineData)
 					var map = new AMap.Map('map', {
-						zoom: 5.2,
+						zoom: 3,
 						showLabel: true,
 						viewMode: '3D',
 						pitch: 0, //地圖仰角
-						center: [122.97, 39.7],
+						center: [101.991, 35.346],
 						mapStyle: 'amap://styles/c0ed286f357b7f4c7312476637a7ab04',
 						buildingAnimation: false,
 						showIndoorMap: false,