";
var map = new BMap.Map("map1"); // 创建Map实例
var point = new BMap.Point(113.404474, 23.277485); // 创建点坐标
map.centerAndZoom(point, 19);
map.enableScrollWheelZoom(); //启用滚轮放大缩小
var marker = new BMap.Marker(point);
map.addOverlay(marker);
marker.addEventListener("click", function () { this.openInfoWindow(infoWin); });
var infoWinOpts = {
width: 200
, height: 80
}
var infoWin = new BMap.InfoWindow(sContent, infoWinOpts);
marker.openInfoWindow(infoWin);
}
window.onload = loadJScript; //异步加载地图