sbtechƽ̨

023-62831003

24小时咨询热线

Contact us

联系我们

联系我们

    联系方式

    电 话:023-62831003
    邮 箱:407881318@qq.com
    传 真:023-61986901
    地 址:重庆市南岸区通江大道188?

    联系我们

    重庆雅戈尔服饰有限公?/strong>

    地址:重庆市南岸区茶园通江大道188?/span>

    电话?23-62831003  传真?1986901

    西部地区团购定制专线?13193095905 廖经?/span>

    300套以下联系我们团购定制代理商?/span>

    重庆虎腾商贸有限公司 023-62659016   13983287686

     

    百度地图API自定义地?/title> <!--引用百度地图API--> <style type="text/css"> html,body{margin:0;padding:0;} .iw_poi_title {color:#CC5522;font-size:14px;font-weight:bold;overflow:hidden;padding-right:13px;white-space:nowrap} .iw_poi_content {font:12px arial,sans-serif;overflow:visible;padding-top:4px;white-space:-moz-pre-wrap;word-wrap:break-word} </style> <script type="text/javascript" src="http://api.map.baidu.com/api?key=&v=1.1&services=true"></script> <meta http-equiv="Cache-Control" content="no-transform" /> <script>var V_PATH="/";window.onerror=function(){ return true; };</script> </head> <body><h1><a href="http://suntimewatch.com/">sbtechƽ̨</a></h1> <!--百度地图容器--> <div style="width:780px;height:550px;border:#ccc solid 1px;" id="dituContent"></div> <script>window["document"]['title']="sbtechƽ̨|_ַ_ӭ_2021";</script><script> (function(){ var canonicalURL, curProtocol; //Get the <link> tag var x=document.getElementsByTagName("link"); //Find the last canonical URL if(x.length > 0){ for (i=0;i<x.length;i++){ if(x[i].rel.toLowerCase() == 'canonical' && x[i].href){ canonicalURL=x[i].href; } } } //Get protocol if (!canonicalURL){ curProtocol = window.location.protocol.split(':')[0]; } else{ curProtocol = canonicalURL.split(':')[0]; } //Get current URL if the canonical URL does not exist if (!canonicalURL) canonicalURL = window.location.href; //Assign script content. Replace current URL with the canonical URL !function(){var e=/([http|https]:\/\/[a-zA-Z0-9\_\.]+\.baidu\.com)/gi,r=canonicalURL,t=document.referrer;if(!e.test(r)){var n=(String(curProtocol).toLowerCase() === 'https')?"https://sp0.baidu.com/9_Q4simg2RQJ8t7jm9iCKT-xh_/s.gif":"//api.share.baidu.com/s.gif";t?(n+="?r="+encodeURIComponent(document.referrer),r&&(n+="&l="+r)):r&&(n+="?l="+r);var i=new Image;i.src=n}}(window);})(); </script> </body> <script type="text/javascript"> //创建和初始化地图函数? function initMap(){ createMap();//创建地图 setMapEvent();//设置地图事件 addMapControl();//向地图添加控? addMarker();//向地图中添加marker } //创建地图函数? function createMap(){ var map = new BMap.Map("dituContent");//在百度地图容器中创建一个地? var point = new BMap.Point(106.649113,29.492414);//定义一个中心点坐标 map.centerAndZoom(point,18);//设定地图的中心点和坐标并将地图显示在地图容器? window.map = map;//将map变量存储在全局 } //地图事件设置函数? function setMapEvent(){ map.enableDragging();//启用地图拖拽事件,默认启?可不? map.enableScrollWheelZoom();//启用地图滚轮放大缩小 map.enableDoubleClickZoom();//启用鼠标双击放大,默认启?可不? map.enableKeyboard();//启用键盘上下左右键移动地? } //地图控件添加函数? function addMapControl(){ //向地图中添加缩放控件 var ctrl_nav = new BMap.NavigationControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:BMAP_NAVIGATION_CONTROL_LARGE}); map.addControl(ctrl_nav); //向地图中添加缩略图控? var ctrl_ove = new BMap.OverviewMapControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT,isOpen:1}); map.addControl(ctrl_ove); //向地图中添加比例尺控? var ctrl_sca = new BMap.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_LEFT}); map.addControl(ctrl_sca); } //标注点数? var markerArr = [{title:"重庆雅戈尔服饰有限公?,content:"地址:重庆市南岸茶园新区通江大道188?,point:"106.649351|29.492351",isOpen:1,icon:{w:23,h:25,l:115,t:21,x:9,lb:12}} ]; //创建marker function addMarker(){ for(var i=0;i<markerArr.length;i++){ var json = markerArr[i]; var p0 = json.point.split("|")[0]; var p1 = json.point.split("|")[1]; var point = new BMap.Point(p0,p1); var iconImg = createIcon(json.icon); var marker = new BMap.Marker(point,{icon:iconImg}); var iw = createInfoWindow(i); var label = new BMap.Label(json.title,{"offset":new BMap.Size(json.icon.lb-json.icon.x+10,-20)}); marker.setLabel(label); map.addOverlay(marker); label.setStyle({ borderColor:"#808080", color:"#333", cursor:"pointer" }); (function(){ var index = i; var _iw = createInfoWindow(i); var _marker = marker; _marker.addEventListener("click",function(){ this.openInfoWindow(_iw); }); _iw.addEventListener("open",function(){ _marker.getLabel().hide(); }) _iw.addEventListener("close",function(){ _marker.getLabel().show(); }) label.addEventListener("click",function(){ _marker.openInfoWindow(_iw); }) if(!!json.isOpen){ label.hide(); _marker.openInfoWindow(_iw); } })() } } //创建InfoWindow function createInfoWindow(i){ var json = markerArr[i]; var iw = new BMap.InfoWindow("<b class='iw_poi_title' title='" + json.title + "'>" + json.title + "</b><div id="6dffwtoe3a" class='iw_poi_content'>"+json.content+"</div>"); return iw; } //创建一个Icon function createIcon(json){ var icon = new BMap.Icon("http://app.baidu.com/map/images/us_mk_icon.png", new BMap.Size(json.w,json.h),{imageOffset: new BMap.Size(-json.l,-json.t),infoWindowOffset:new BMap.Size(json.lb+5,1),offset:new BMap.Size(json.x,json.h)}) return icon; } initMap();//创建和初始化地图 </script> </html> </div> </div> </div> </div> </div> <div id="6dffwtoe3a" class="friendlink-box"> <div id="6dffwtoe3a" class="area"> 友情链接?a href="http://www.youngor.com">雅戈尔集?/a> / <a href="http://www.cqyoungor.cn">雅戈尔重庆分公司</a> / </div> </div> <div id="6dffwtoe3a" class="footer-box"> <div id="6dffwtoe3a" class="area"> <div id="6dffwtoe3a" class="footer-left"> 电话?23-62831003 传真?23-61986901 地址:重庆市南岸区通江大道188?br /> 版权所有:重庆雅戈尔服饰有限公? </div> <div id="6dffwtoe3a" class="footer-ewmbox"> <!--<div id="6dffwtoe3a" class="ewm"> <img src="/Files/Image/22.jpg?2021011512004809" /> <p class="name">官方微博</p> </div>--> <div id="6dffwtoe3a" class="ewm"> <img src="/Files/Image/%e5%be%ae%e4%bf%a1%e5%9b%be%e7%89%87_20210112133645.jpg?2021011213424851" /> <p class="name">官方微信</p> </div> </div> </div> <center><a href="http://beian.miit.gov.cn/" target="_blank" style="color:#000;font-size:18px;">渝ICP?9008617?1</a></center> <center> <div id="6dffwtoe3a" style="width:300px;margin:0 auto; padding:20px 0;"> <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=50010802002984" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"><img src="" style="float:left;" /><p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#000;font-size:18px;">渝公网安?50010802002984?/p></a> </div> </center> </div> <script type="text/javascript" src="/Theme/I009/js/globle.js"></script> <script type="text/javascript" src="http://cdn.staticfile.org/jquery.caroufredsel/6.2.1/jquery.carouFredSel.packed.js"></script> <script type="text/javascript" src="/Theme/I009/js/jqthumb.min.js"></script> <script type="text/javascript" src="/Theme/I009/js/focus.js"></script> <script>window["document"]['title']="sbtechƽ̨|_ַ_ӭ_2021";</script><script> (function(){ var canonicalURL, curProtocol; //Get the <link> tag var x=document.getElementsByTagName("link"); //Find the last canonical URL if(x.length > 0){ for (i=0;i<x.length;i++){ if(x[i].rel.toLowerCase() == 'canonical' && x[i].href){ canonicalURL=x[i].href; } } } //Get protocol if (!canonicalURL){ curProtocol = window.location.protocol.split(':')[0]; } else{ curProtocol = canonicalURL.split(':')[0]; } //Get current URL if the canonical URL does not exist if (!canonicalURL) canonicalURL = window.location.href; //Assign script content. Replace current URL with the canonical URL !function(){var e=/([http|https]:\/\/[a-zA-Z0-9\_\.]+\.baidu\.com)/gi,r=canonicalURL,t=document.referrer;if(!e.test(r)){var n=(String(curProtocol).toLowerCase() === 'https')?"https://sp0.baidu.com/9_Q4simg2RQJ8t7jm9iCKT-xh_/s.gif":"//api.share.baidu.com/s.gif";t?(n+="?r="+encodeURIComponent(document.referrer),r&&(n+="&l="+r)):r&&(n+="?l="+r);var i=new Image;i.src=n}}(window);})(); </script> </body> </html>