fix:地图的修改
Showing
1 changed file
with
4 additions
and
0 deletions
... | @@ -100,3 +100,7 @@ var opts = { | ... | @@ -100,3 +100,7 @@ var opts = { |
100 | }; | 100 | }; |
101 | var infoWindow = new BMapGL.InfoWindow('雁塔区南二环西段', opts); | 101 | var infoWindow = new BMapGL.InfoWindow('雁塔区南二环西段', opts); |
102 | map.openInfoWindow(infoWindow, point); | 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