代码如下: var map = new BMap.Map("appmap"); var point = new BMap.Point(); map.centerAndZoom(point, 15); map.addControl(new BMap.ZoomControl()); var myIcon = new BMap.Icon("/images/map_marker.png", new BMap.Size(30,32)); var marker2 = new BMap.Marker(point,{icon:myIcon}); map.addOverlay(marker2);