",{point:new BMap.Point(p1,p2),offset:new BMap.Size(3,-6)}); map.addOverlay(label); label.setStyle({borderColor:"#999"}); } } initMap();//创建和初始化地图