$(function(){
var map = new AMap.Map('container',{
resizeEnable: true,
zoom: 15,
center: [113.692748,22.998299],
});
//坐标拾取链接 http://lbs.amap.com/console/show/picker
var marker = new AMap.Marker({
icon: "//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png",
position: [113.692748,22.998299],
offset: new AMap.Pixel(-13, -30)
});
//英文 map.setLang('en');
marker.setMap(map);
function open_info(){
var infoWindow;
//在指定位置打开信息窗体
var info = [];
var address="东莞市酷游九州,BET9九卅娱乐十年信誉,酷游ku游官网最新地址1161切削刀具有限公司
地址:东莞市长安镇霄边社区新河路32号酷游九州,BET9九卅娱乐十年信誉,酷游ku游官网最新地址1161中心大楼
电话:0769-82283315"
info.push(address);
infoWindow = new AMap.InfoWindow({
content: info.join(""),
offset: new AMap.Pixel(0, -30)//使用默认信息窗体框样式,显示信息内容
});
infoWindow.open(map,map.getCenter());
};
open_info();
} )