You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
13 KiB

/**/_jsload2 && _jsload2('map', 'wb.prototype.cancel=ja(1,function(){this.ws&&clearTimeout(this.ws);this.CA=this.kv;this.$y=0}); B.Xe(function(a){if(!a.B||!a.B.py){a.oy()?(Bg(a),Cg(a),Dg(a)):a.addEventListener("load",function(){Bg(this);Cg(this);Dg(this)});a.dh="\\u4e2d\\u56fd";a.Cs="1";var b={QD:o,eb:function(){if(b.QD){b.QD=q;setTimeout(function(){b.mg()},500)}},mg:function(){var c=a.Kd(),d=a.ga(),e=T.tb(c.xe()),c=T.tb(c.pf());de.eb(function(c){c.current_city.code>=9E3&&c.current_city.code<=9378&&(c.current_city.name="\\u53f0\\u6e7e\\u7701");c.current_city.code>=2E4&&c.current_city.code<=20499&&(c.current_city.name="\\u65b0\\u52a0\\u5761"); c.current_city.code>=20500&&c.current_city.code<=25999&&(c.current_city.name="\\u6cf0\\u56fd");c.current_city.code>=26E3&&c.current_city.code<=29999&&(c.current_city.name="\\u65e5\\u672c");c.current_city.code>=3E4&&c.current_city.code<=30999&&(c.current_city.name="\\u97e9\\u56fd");c.current_city.code>=31E3&&c.current_city.code<=37E3&&(c.current_city.name="\\u4e9a\\u592a");c.current_city.code>=46609&&c.current_city.code<=52505&&(c.current_city.name="\\u6b27\\u6d32");c.current_city.code>=39509&&c.current_city.code<= 53500&&(c.current_city.name="\\u5357\\u7f8e\\u6d32");c.current_city.code>=54E3&&c.current_city.code<=7E4&&(c.current_city.name="\\u5317\\u7f8e\\u6d32");c.current_city.code===54003&&(c.current_city.code>=60731&&c.current_city.code<=61123)&&(c.current_city.name="\\u7f8e\\u56fd");if(c.current_city.code===54015||c.current_city.code>=57970&&c.current_city.code<=60223)c.current_city.name="\\u52a0\\u62ff\\u5927";if(c.current_city.code===54025||c.current_city.code>=54338&&c.current_city.code<=57374)c.current_city.name= "\\u58a8\\u897f\\u54e5";b.QD=o;if(c&&c.current_city){var d=c.current_city.name,e=c.current_city.code;e!==a.Cs&&a.dispatchEvent("citychange",{name:d,code:e});a.dh=d;a.Cs=c.current_city.code;J()||Eg(a)}},{qt:"cen",b:e.lng+","+e.lat+";"+c.lng+","+c.lat,l:d},"","",o)}};a.addEventListener("load",function(){b.eb()});a.addEventListener("moveend",function(){b.eb()});a.addEventListener("zoomend",function(){b.eb()});b.eb()}}); function Bg(a){if(!a.R.yW){a.R.yW=o;if(!a.px){var b=new M(2,2);J()&&(b.width=72,b.height=0);var c=new Xc({offset:b,printable:o});a.px=c}J()||(Eg(a),a.addEventListener("maptypechange",function(){Eg(a)}));a.Ro(c);var d=new Fg;d.k={Eg:o};a.Ro(d);a.addEventListener("resize",function(){if(this.vb().width>=300&&a.vb().height>=100){d.show();c.Ye(b)}else{d.U();c.Ye(new M(4,2))}});300<=a.vb().width&&100<=a.vb().height&&a.B.tZ?d.show():(d.U(),c.Ye(new M(4,2)))}} function Eg(a){if(!a.px){var b=new M(2,2);J()&&(b.width=72,b.height=0);b=new Xc({offset:b,printable:o});a.px=b}var c=a.dh||"\\u4e2d\\u56fd",b=a.oa(),d="\\u5e38\\u5dde\\u5e02 \\u5357\\u660c\\u5e02 \\u4e4c\\u9c81\\u6728\\u9f50\\u5e02 \\u65e0\\u9521\\u5e02 \\u798f\\u5dde\\u5e02 \\u6cc9\\u5dde\\u5e02 \\u73e0\\u6d77\\u5e02 \\u8d35\\u9633\\u5e02".split(" "),e="\\u5317\\u4eac\\u5e02 \\u4e0a\\u6d77\\u5e02 \\u5e7f\\u5dde\\u5e02 \\u6df1\\u5733\\u5e02 \\u5b81\\u6ce2\\u5e02 \\u77f3\\u5bb6\\u5e84\\u5e02 \\u6c88\\u9633\\u5e02 \\u957f\\u6625\\u5e02 \\u9752\\u5c9b\\u5e02 \\u6e29\\u5dde\\u5e02 \\u53f0\\u5dde\\u5e02 \\u91d1\\u534e\\u5e02 \\u4f5b\\u5c71\\u5e02 \\u4e2d\\u5c71\\u5e02 \\u6606\\u660e\\u5e02 \\u5357\\u5b81\\u5e02 \\u82cf\\u5dde\\u5e02 \\u897f\\u5b89\\u5e02 \\u6d4e\\u5357\\u5e02 \\u90d1\\u5dde\\u5e02 \\u5408\\u80a5\\u5e02 \\u547c\\u548c\\u6d69\\u7279\\u5e02 \\u676d\\u5dde\\u5e02 \\u6210\\u90fd\\u5e02 \\u6b66\\u6c49\\u5e02 \\u957f\\u6c99\\u5e02 \\u5929\\u6d25\\u5e02 \\u5357\\u4eac\\u5e02 \\u91cd\\u5e86\\u5e02 \\u5927\\u8fde\\u5e02 \\u4e1c\\u839e\\u5e02 \\u53a6\\u95e8\\u5e02".split(" "), f=["\\u9999\\u6e2f\\u7279\\u522b\\u884c\\u653f\\u533a"],g;for(g in d)if(d[g]===c){var i=o;break}for(g in e)if(e[g]===c)break;for(g in f)if(f[g]===c){var j=o;break}if("\\u53f0\\u6e7e\\u7701"===c)var l=o;if("\\u65b0\\u52a0\\u5761"===c)var m=o;if("\\u65e5\\u672c"===c)var n=o;if("\\u97e9\\u56fd"===c)var s=o;if("\\u6cf0\\u56fd"===c)var u=o;if("\\u4e9a\\u592a"===c)var w=o;if("\\u6b27\\u6d32"===c)var y=o;if("\\u5357\\u7f8e\\u6d32"===c)var D=o;if("\\u5317\\u7f8e\\u6d32"===c)var C=o;if("\\u7f8e\\u56fd"===c)var F=o;if("\\u52a0\\u62ff\\u5927"=== c)var A=o;if("\\u58a8\\u897f\\u54e5"===c)var z=o;g=["&copy;&nbsp;2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data &copy; "];c="rgba(255, 255, 255, 0.701961)";9>=a.ga()?g=["&copy;&nbsp;2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data &copy; "]:l?g=["&copy;&nbsp;2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data &copy; "]:n||s?g=["&copy;&nbsp;2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data &copy; "]: m||u?g=["&copy;&nbsp;2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data &copy; "]:w?g=["&copy;&nbsp;2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data &copy; "]:y?g=["&copy;&nbsp;2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data &copy; "]:D?g=["&copy;&nbsp;2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data &copy; "]: C&&(g=["&copy;&nbsp;2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data &copy; "]);if(9>=a.ga()){g.push("\\u767e\\u5ea6\\u667a\\u56fe");g.push(\' &amp; <a target="_blank" href="http://www.openstreetmap.org/">OpenStreetMap</a>\');g.push(\' &amp; <a target="_blank" href="http://corporate.navteq.com/supplier_terms.html">HERE</a>\');if(b===bb||b===Ua)g.push(\' &amp; <a target="_blank" href="http://www.eso.org/public/">ESO</a>\'),c="rgba(0,0,0,.7)";b===Ra&&(g.push(\' &amp; <a href="http://o.cn" target="_blank" style="color:#fff;font-size: 11px;">\\u90fd\\u5e02\\u5708</a>\'), c="none")}else if(n||s)g.push(\'<a target="_blank" href="http://www.openstreetmap.org/">OpenStreetMap</a>\');else if(m||u)g.push(\'<a target="_blank" href="http://corporate.navteq.com/supplier_terms.html">HERE</a>\');else if(w)g.push(\'<a target="_blank" href="http://corporate.navteq.com/supplier_terms.html">HERE</a>\'),g.push(\' &amp; <a target="_blank" href="https://www.mapbox.com/">Mapbox</a>\');else if(y)g.push(\'<a target="_blank" href="http://www.openstreetmap.org/">OpenStreetMap</a>\'),g.push(\' &amp; <a target="_blank" href="https://www.mapbox.com/">Mapbox</a>\'); else if(D)g.push(\'<a target="_blank" href="http://www.openstreetmap.org/">OpenStreetMap</a>\'),g.push(\' &amp; <a target="_blank" href="https://www.mapbox.com/">Mapbox</a>\');else if(F||z||A)g.push(\'<a target="_blank" href="http://corporate.navteq.com/supplier_terms.html">HERE</a>\'),g.push(\' &amp; <a target="_blank" href="https://www.mapbox.com/">Mapbox</a>\');else if(C)g.push(\'<a target="_blank" href="http://www.openstreetmap.org/">OpenStreetMap</a>\'),g.push(\' &amp; <a target="_blank" href="https://www.mapbox.com/">Mapbox</a>\'); else{g.push("\\u767e\\u5ea6\\u667a\\u56fe");i&&g.push(\' &amp; <a target="_blank" href="http://www.palmcity.cn/palmcity/">PalmCity</a>\');j&&g.push(\' &amp; <a target="_blank" href="http://www.mapking.com/HongKong/eng/home/MapKing_Webmap.html">MapKing</a>\');l&&(g.push(\' &amp; <a target="_blank" href="http://corporate.navteq.com/supplier_terms.html">HERE</a>\'),g.push(\' &amp; <a target="_blank" href="http://www.localking.com.tw/about/localking.aspx">\\u6a02\\u5ba2LocalKing</a>\'));if(b===bb||b===Ua)c="rgba(0,0,0,.7)"; b===Ra&&(g.push(\' &amp; <a href="http://o.cn" target="_blank" style="color:#fff;font-size: 11px;">\\u90fd\\u5e02\\u5708</a>\'),c="none")}g.unshift(\'<span style="background: \'+c+\';padding: 0px 1px;line-height: 16px;display: inline;height: 16px;">\');g.push("</span>");g=g.join("");a.px.Pw({id:1,content:g})} function Cg(a){J()||sa(B.jc+"?qt=business_accredit&v=2.1&ak="+ra,function(b){b&&(0===b.error&&b.content&&0===b.content.status)&&(b.content.data&&b.content.data.is_auth)&&(b=new Gg({}),a.$w=b,a.Ro(b),a.B.HD||b.U())})}B.Sp=p;function Dg(a){B.Sp=new Hg({});a.Ro(B.Sp)}function Fg(){this.defaultAnchor=Uc;this.defaultOffset=new M(1,20);J()&&(this.defaultOffset=new M(1,1));this.Zq=30;this.nl=I.pa+(J()?"copyright_logo_s.png":"copyright_logo.png")}Fg.prototype=new Rc; Fg.prototype.initialize=function(a){this.D=a;var b=H("div");b.style.height="32px";var c=H("a",{title:"\\u5230\\u767e\\u5ea6\\u5730\\u56fe\\u67e5\\u770b\\u6b64\\u533a\\u57df",target:"_blank",href:"http://map.baidu.com/?sr=1"});c.style.outline="none";c.innerHTML=6===x.da.ma?"<div style=\'cursor:pointer;width:77px;height:32px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+this.nl+")\'></div>":"<img style=\'border:none;width:77px;height:32px\' src=\'"+this.nl+"\' />";J()&&(1<window.devicePixelRatio&& (this.nl=I.pa+"copyright_logo_hd.png"),b.style.height="25px",c.href="http://map.baidu.com/?sr=1",c.innerHTML="<img style=\'border:none;width:68px;height:25px\' src=\'"+this.nl+"\' />");b.appendChild(c);a.Ga().appendChild(b);return b};function Gg(a){this.defaultAnchor=Uc;this.defaultOffset=a.defaultOffset||new M(90,20);this.Zq=30;this.nl=I.pa+"bizAuth.png"}Gg.prototype=new Rc; Gg.prototype.initialize=function(a){this.D=a;var b=H("div");b.style.height="27px";var c=H("a",{title:"\\u767e\\u5ea6\\u5730\\u56fe\\u5546\\u7528\\u6388\\u6743",target:"_blank",href:"http://lbs.baidu.com/cashier/auth?src=jsapi2.0"});c.style.outline="none";c.innerHTML=6===x.da.ma?"<div style=\'cursor:pointer;width:54px;height:27px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+this.nl+")\'></div>":"<img style=\'border:none;width:54px;height:27px\' src=\'"+this.nl+"\' />";b.appendChild(c);a.Ga().appendChild(b); return b};function Hg(a){this.defaultAnchor=Tc;this.defaultOffset=a.defaultOffset||new M(90,6);this.Zq=9999;this.Oa=q}Hg.prototype=new Rc; Hg.prototype.initialize=function(a){this.D=a;var b=this,c=H("div"),d=c.style;d.left=d.top="50%";d.display="none";d.padding="24px";d.overflow="visible";d.position="absolute";d.width="50%";d.maxWidth="360px";d.transform="translate(-50% , -100%)";d.zIndex="9999";d.background="#fff";d.O5="none";d=H("span",{style:"margin-top: 12px;\\n margin-bottom: -12px;\\n margin-left: calc(100% - 48px);\\n width: 56px;\\n height: 32px;\\n font-size: 14px;\\n text-align: center;\\n line-height: 32px;\\n display: block;\\n cursor: pointer;\\n background: #3894FF;\\n border: solid 1px #3f51b53b;\\n color: #fff;\\n border-radius: 3px;"});d.innerText= "\\u786e\\u5b9a";d.addEventListener("click",function(){b.U()});var e=H("div"),f=e.style;f.position="relative";f.width="100%";f.height="100%";f.color="#000";f.fontSize="14px";f.X5="break-all";c.appendChild(e);c.appendChild(d);a.Ga().appendChild(c);return c};Hg.prototype.Eo=t();Hg.prototype.update=function(a){this.vg()||(this.C.firstChild.innerText=a,this.show())};x.extend(Na.prototype,{Ab:function(){this.ca()},ca:function(){var a=this;a.No=function(){var b=a.vb();if(a.width!=b.width||a.height!=b.height){var c=new M(a.width,a.height),d=new N("onbeforeresize");d.size=c;a.dispatchEvent(d);a.pk((b.width-a.width)/2,(b.height-a.height)/2);a.Ae.style.width=(a.width=b.width)+"px";a.Ae.style.height=(a.height=b.height)+"px";c=new N("onresize");c.size=b;a.dispatchEvent(c);b=parseInt(a.platform.style.left)||0;c=parseInt(a.platform.style.top)||0;0!=a.Sa&&(a.offsetX!=b|| a.offsetY!=c)&&a.Me(b,c)}};a.B.dt&&!a.R.lm&&(a.R.lm=setInterval(a.No,80));J()||(x.M(a.Ae,"mouseover",function(b){Gb(b);a.dispatchEvent(new N("onmouseover"))}),x.M(a.Ae,"mouseout",function(b){Gb(b);a.dispatchEvent(new N("onmouseout"))}))},Me:function(a,b,c,d){if(!isNaN(a)&&!isNaN(b)&&!(this.offsetX==a&&this.offsetY==b)){var e=this.oa(),f=e.k.$a,g=this.offsetY-b,e=e.yc(this.Na),i=this.Nd.Lk(this.re),j=new K(i.lng+(this.offsetX-a)*e,i.lat-(this.offsetY-b)*e);j.lat-this.height/2*e<=f.$d&&0<=g&&(b=f.$d+ this.height/2*e,b=this.offsetY-(i.lat-b)/e);j.lat+this.height/2*e>f.Yd&&0>g&&(b=f.Yd-this.height/2*e,b=this.offsetY-(i.lat-b)/e);this.pk(this.offsetX-a,this.offsetY-b,c);a=Math.round(a);b=Math.round(b);this.offsetX=a;this.offsetY=b;this.platform.style.left=a+"px";this.platform.style.top=b+"px";this.Ae.style.left=-a+"px";this.Ae.style.top=-b+"px";d!=q&&this.dispatchEvent(new N("onmoving"))}},Ai:function(a,b){if(a instanceof O||a instanceof K){var a=$a(a,this),c=this.Cc(a),d=Math.round(this.width/2), e=Math.round(this.height/2),b=b||{};Math.abs(d-c.x)>this.width||Math.abs(e-c.y)>this.height||b.noAnimation?this.iJ(d-c.x,e-c.y,a):this.Ol(d-c.x,e-c.y,{duration:b.duration})}},iJ:function(a,b,c){var d=this.R;d.Ic!=o&&(d.nb&&d.nb.stop(),this.dispatchEvent(new N("onmovestart")),this.Me(this.offsetX+a,this.offsetY+b,c),this.dispatchEvent(new N("onmoveend")))},Ag:function(a,b,c){a=Math.round(a)||0;b=Math.round(b)||0;c=c||{};Math.abs(a)<=this.width&&Math.abs(b)<=this.height&&!c.noAnimation?this.Ol(a,b): this.iJ(a,b)},Ol:function(a,b,c){if(this.R.Ic!=o){c=c||{};this.dispatchEvent(new N("onmovestart"));var d=this,e=d.R;e.Sy=d.offsetX;e.m=d.offsetY;e.rG&&e.rG.cancel();e.nb&&e.nb.stop();e.rG=new wb({Hc:c.Hc||d.B.Hc,duration:c.duration||d.B.yV,hc:c.hc||xb.wL,va:function(c){(this.mG=d.R.Ic)||d.Me(e.Sy+Math.ceil(a*c),e.m+Math.ceil(b*c))},finish:function(){d.dispatchEvent(new N("onmoveend"));d.R.rG=q;d.R.Fi==o&&(d.R.Fi=q,0!=d.R.lc&&d.gb())}})}},AY:function(a,b){var c=this.oa();if("object"!=typeof c)return p; c=256*c.yc(b);a=T.tb(a);return{Xy:parseInt(a.lng/c),kx:parseInt(a.lat/c),wg:b}}});U(Tf,{panTo:Tf.Ai,panBy:Tf.Ag}); ');