";
var map = new BMap.Map("Gmap");
var point = new BMap.Point(104.069803,30.556877);
//var myIcon = new BMap.Icon("/Public/images/map-icon.png", new BMap.Size(36,48));
//var marker = new BMap.Marker(point,{icon:myIcon});
var marker = new BMap.Marker(point);
var infoWindow = new BMap.InfoWindow(sContent);
map.centerAndZoom(point, 17);
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);
*/