四川能投电力开发集团有限公司

四川省成都市高新区天府大道中段279号成达大厦9楼、10楼"; var map = new BMap.Map("Gmap"); var point = new BMap.Point(104.076516,30.558083); var myIcon = new BMap.Icon("static/picture/map-icon.png", new BMap.Size(31,43)); var marker = new BMap.Marker(point,{icon:myIcon}); var infoWindow = new BMap.InfoWindow(sContent); map.centerAndZoom(point, 18); map.addOverlay(marker); marker.setAnimation(BMAP_ANIMATION_BOUNCE); //跳动的动画 //map.enableScrollWheelZoom(); var opts = {anchor:BMAP_ANCHOR_TOP_LEFT, offset:new BMap.Size(20,20)}; map.addControl(new BMap.NavigationControl(opts)); /* marker.openInfoWindow(infoWindow); */
XML 地图