fix:地图的修改
Showing
1 changed file
with
5 additions
and
1 deletions
... | @@ -99,4 +99,8 @@ var opts = { | ... | @@ -99,4 +99,8 @@ var opts = { |
99 | title: '办事大厅' | 99 | title: '办事大厅' |
100 | }; | 100 | }; |
101 | var infoWindow = new BMapGL.InfoWindow('雁塔区南二环西段', opts); | 101 | var infoWindow = new BMapGL.InfoWindow('雁塔区南二环西段', opts); |
102 | map.openInfoWindow(infoWindow, point); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
102 | map.openInfoWindow(infoWindow, point); | ||
103 | |||
104 | |||
105 | map.centerAndZoom(new BMapGL.Point(108.95309828, 34.2777999), 12); // 初始化地图,设置中心点坐标和地图级别 | ||
106 | map.enableScrollWheelZoom(true); // 开启鼠标滚轮缩放 | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment