联系我们
CONTACT US
欧洲杯竞猜,欧洲杯竞猜官方网站,欧洲杯赛事竞猜平台刀具(上海)有限公司
电话:021-58682849"), offset:new AMap.Pixel(16, -45)//-113, -140 }); //构建自定义信息窗体 function createInfoWindow(title,content){ var info = document.createElement("div"); info.className = "info"; // 定义顶部标题 var top = document.createElement("div"); var titleD = document.createElement("div"); var closeX = document.createElement("img"); top.className = "info-top"; titleD.innerHTML = title; closeX.src = "http://webapi.amap.com/images/close2.gif"; closeX.onclick = closeInfoWindow; top.appendChild(titleD); top.appendChild(closeX); info.appendChild(top); // 定义中部内容 var middle = document.createElement("div"); middle.className = "info-middle"; middle.style.backgroundColor='white'; middle.innerHTML = content; info.appendChild(middle); // 定义底部内容 var bottom = document.createElement("div"); bottom.className = "info-bottom"; bottom.style.position = 'relative'; bottom.style.top = '0px'; bottom.style.margin = '0 auto'; var sharp = document.createElement("img"); sharp.src = "http://webapi.amap.com/images/sharp.png"; bottom.appendChild(sharp); info.appendChild(bottom); return info; } //关闭信息窗体 function closeInfoWindow(){ map.clearInfoWindow(); }
在线留言
ONLINE MESSAGE
扫一扫浏览手机站
页面版权所有-2020 欧洲杯竞猜,欧洲杯竞猜官方网站,欧洲杯赛事竞猜平台刀具(上海)有限公司 沪ICP备20023202号 上海