复制代码代码如下: var map = new BMap.Map("mapDiv");//mapDiv为放地图的 div 的 id map.addControl(new BMap.NavigationControl()); map.addControl(new BMap.ScaleControl()); map.addControl(new BMap.OverviewMapControl()); map.centerAndZoom(point, 15);//point为坐标点,15为地图缩放级别,最大级别是 18 var pointMarker = new BMap.Marker(point); map.addOverlay(pointMarker);