2f60b440 by 任超

fix:地图的修改

1 parent 61a062dc
......@@ -99,4 +99,8 @@ var opts = {
title: '办事大厅'
};
var infoWindow = new BMapGL.InfoWindow('雁塔区南二环西段', opts);
map.openInfoWindow(infoWindow, point);
\ No newline at end of file
map.openInfoWindow(infoWindow, point);
map.centerAndZoom(new BMapGL.Point(108.95309828, 34.2777999), 12); // 初始化地图,设置中心点坐标和地图级别
map.enableScrollWheelZoom(true); // 开启鼠标滚轮缩放
\ No newline at end of file
......