1 |
- _jsload2&&_jsload2('map', 'tb.prototype.cancel=ha(1,function(){this.Yr&&clearTimeout(this.Yr);this.gA=this.Uu;this.Jy=0}); B.Ye(function(a){if(!a.K||!a.K.Yx){a.Xx()?Lf(a):a.addEventListener("load",function(){Lf(this)});a.$g="\\u4e2d\\u56fd";a.fs="1";var b={rD:q,ab:function(){b.rD&&(b.rD=t,setTimeout(function(){b.Tg()},500))},Tg:function(){var c=a.ve(),e=a.fa(),f=S.Eb(c.Ve()),c=S.Eb(c.Rf());rd.ab(function(c){9E3<=c.current_city.code&&9378>=c.current_city.code&&(c.current_city.name="\\u53f0\\u6e7e\\u7701");2E4<=c.current_city.code&&20499>=c.current_city.code&&(c.current_city.name="\\u65b0\\u52a0\\u5761");20500<=c.current_city.code&& 25999>=c.current_city.code&&(c.current_city.name="\\u6cf0\\u56fd");26E3<=c.current_city.code&&29999>=c.current_city.code&&(c.current_city.name="\\u65e5\\u672c");3E4<=c.current_city.code&&30999>=c.current_city.code&&(c.current_city.name="\\u97e9\\u56fd");31E3<=c.current_city.code&&37E3>=c.current_city.code&&(c.current_city.name="\\u4e9a\\u592a");46609<=c.current_city.code&&52505>=c.current_city.code&&(c.current_city.name="\\u6b27\\u6d32");39509<=c.current_city.code&&53500>=c.current_city.code&&(c.current_city.name= "\\u5357\\u7f8e\\u6d32");54E3<=c.current_city.code&&7E4>=c.current_city.code&&(c.current_city.name="\\u5317\\u7f8e\\u6d32");54003===c.current_city.code&&(60731<=c.current_city.code&&61123>=c.current_city.code)&&(c.current_city.name="\\u7f8e\\u56fd");if(54015===c.current_city.code||57970<=c.current_city.code&&60223>=c.current_city.code)c.current_city.name="\\u52a0\\u62ff\\u5927";if(54025===c.current_city.code||54338<=c.current_city.code&&57374>=c.current_city.code)c.current_city.name="\\u58a8\\u897f\\u54e5";b.rD= q;if(c&&c.current_city){var e=c.current_city.name,f=c.current_city.code;f!==a.fs&&a.dispatchEvent("citychange",{name:e,code:f});a.$g=e;a.fs=c.current_city.code;H()||Mf(a)}},{qt:"cen",b:f.lng+","+f.lat+";"+c.lng+","+c.lat,l:e},"","",q)}};a.addEventListener("load",function(){b.ab()});a.addEventListener("moveend",function(){b.ab()});a.addEventListener("zoomend",function(){b.ab()});b.ab()}}); function Lf(a){if(!a.R.lW){a.R.lW=q;if(!a.Zw){var b=new O(2,2);H()&&(b.width=72,b.height=0);var c=new $b({offset:b,printable:q});a.Zw=c}H()||(Mf(a),a.addEventListener("maptypechange",function(){Mf(a)}));a.Aw(c);var e=new Nf;e.j={Cg:q};a.Aw(e);a.addEventListener("resize",function(){if(this.cb().width>=300&&a.cb().height>=100){e.show();c.Ze(b)}else{e.U();c.Ze(new O(4,2))}});300<=a.cb().width&&100<=a.cb().height&&a.K.jZ?e.show():(e.U(),c.Ze(new O(4,2)))}} function Mf(a){if(!a.Zw){var b=new O(2,2);H()&&(b.width=72,b.height=0);b=new $b({offset:b,printable:q});a.Zw=b}var c=a.$g||"\\u4e2d\\u56fd",b=a.oa(),e="\\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(" "),f="\\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(" "), g=["\\u9999\\u6e2f\\u7279\\u522b\\u884c\\u653f\\u533a"],i;for(i in e)if(e[i]===c){var k=q;break}for(i in f)if(f[i]===c)break;for(i in g)if(g[i]===c){var m=q;break}if("\\u53f0\\u6e7e\\u7701"===c)var n=q;if("\\u65b0\\u52a0\\u5761"===c)var o=q;if("\\u65e5\\u672c"===c)var p=q;if("\\u97e9\\u56fd"===c)var v=q;if("\\u6cf0\\u56fd"===c)var x=q;if("\\u4e9a\\u592a"===c)var y=q;if("\\u6b27\\u6d32"===c)var A=q;if("\\u5357\\u7f8e\\u6d32"===c)var E=q;if("\\u5317\\u7f8e\\u6d32"===c)var C=q;if("\\u7f8e\\u56fd"===c)var F=q;if("\\u52a0\\u62ff\\u5927"=== c)var D=q;if("\\u58a8\\u897f\\u54e5"===c)var I=q;i=["© 2018 Baidu - GS(2016)2089\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b571100930 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "];c="rgba(255, 255, 255, 0.701961)";9>=a.fa()?i=["© 2018 Baidu - GS(2016)2089\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b571100930 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "]:n?i=["© 2018 Baidu - GS(2016)2089\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b571100930 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "]:p||v?i=["© 2018 Baidu - GS(2016)2089\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b571100930 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "]: o||x?i=["© 2018 Baidu - GS(2016)2089\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b571100930 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "]:y?i=["© 2018 Baidu - GS(2016)2089\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b571100930 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "]:A?i=["© 2018 Baidu - GS(2016)2089\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b571100930 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "]:E?i=["© 2018 Baidu - GS(2016)2089\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b571100930 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "]: C&&(i=["© 2018 Baidu - GS(2016)2089\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b571100930 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "]);if(9>=a.fa()){i.push("\\u957f\\u5730\\u4e07\\u65b9");i.push(\' & <a target="_blank" href="http://www.openstreetmap.org/">OpenStreetMap</a>\');i.push(\' & <a target="_blank" href="http://corporate.navteq.com/supplier_terms.html">HERE</a>\');if(b===Ya||b===Sa)i.push(\' & <a target="_blank" href="http://www.eso.org/public/">ESO</a>\'),c="rgba(0,0,0,.7)";b===Qa&&(i.push(\' & <a href="http://o.cn" target="_blank" style="color:#fff;font-size: 11px;">\\u90fd\\u5e02\\u5708</a>\'), c="none")}else if(p||v)i.push(\'<a target="_blank" href="http://www.openstreetmap.org/">OpenStreetMap</a>\');else if(o||x)i.push(\'<a target="_blank" href="http://corporate.navteq.com/supplier_terms.html">HERE</a>\');else if(y)i.push(\'<a target="_blank" href="http://corporate.navteq.com/supplier_terms.html">HERE</a>\'),i.push(\' & <a target="_blank" href="https://www.mapbox.com/">Mapbox</a>\');else if(A)i.push(\'<a target="_blank" href="http://www.openstreetmap.org/">OpenStreetMap</a>\'),i.push(\' & <a target="_blank" href="https://www.mapbox.com/">Mapbox</a>\'); else if(E)i.push(\'<a target="_blank" href="http://www.openstreetmap.org/">OpenStreetMap</a>\'),i.push(\' & <a target="_blank" href="https://www.mapbox.com/">Mapbox</a>\');else if(F||I||D)i.push(\'<a target="_blank" href="http://corporate.navteq.com/supplier_terms.html">HERE</a>\'),i.push(\' & <a target="_blank" href="https://www.mapbox.com/">Mapbox</a>\');else if(C)i.push(\'<a target="_blank" href="http://www.openstreetmap.org/">OpenStreetMap</a>\'),i.push(\' & <a target="_blank" href="https://www.mapbox.com/">Mapbox</a>\'); else{i.push("\\u957f\\u5730\\u4e07\\u65b9");k&&i.push(\' & <a target="_blank" href="http://www.palmcity.cn/palmcity/">PalmCity</a>\');m&&i.push(\' & <a target="_blank" href="http://www.mapking.com/HongKong/eng/home/MapKing_Webmap.html">MapKing</a>\');n&&(i.push(\' & <a target="_blank" href="http://corporate.navteq.com/supplier_terms.html">HERE</a>\'),i.push(\' & <a target="_blank" href="http://www.localking.com.tw/about/localking.aspx">\\u6a02\\u5ba2LocalKing</a>\'));if(b===Ya||b===Sa)c="rgba(0,0,0,.7)"; b===Qa&&(i.push(\' & <a href="http://o.cn" target="_blank" style="color:#fff;font-size: 11px;">\\u90fd\\u5e02\\u5708</a>\'),c="none")}i.unshift(\'<span style="background: \'+c+\';padding: 0px 1px;line-height: 16px;display: inline;height: 16px;">\');i.push("</span>");i=i.join("");a.Zw.Bw({id:1,content:i})}function Nf(){this.defaultAnchor=Yb;this.defaultOffset=new O(1,20);H()&&(this.defaultOffset=new O(1,1));this.Hz=30;this.Lu=G.qa+(H()?"copyright_logo_s.png":"copyright_logo.png")}Nf.prototype=new Vb; Nf.prototype.initialize=function(a){this.B=a;var b=L("div");b.style.height="32px";var c=L("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===z.ca.ia?"<div style=\'cursor:pointer;width:77px;height:32px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+this.Lu+")\'></div>":"<img style=\'border:none;width:77px;height:32px\' src=\'"+this.Lu+"\' />";H()&&(1<window.devicePixelRatio&& (this.Lu=G.qa+"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.Lu+"\' />");b.appendChild(c);a.La().appendChild(b);return b};z.extend(Ka.prototype,{ib:function(){this.ba()},ba:function(){var a=this;a.as=function(){var b=a.cb();if(a.width!=b.width||a.height!=b.height){var c=new O(a.width,a.height),e=new P("onbeforeresize");e.size=c;a.dispatchEvent(e);a.ik((b.width-a.width)/2,(b.height-a.height)/2);a.ze.style.width=(a.width=b.width)+"px";a.ze.style.height=(a.height=b.height)+"px";c=new P("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.Le(b,c)}};H()||(z.M(a.ze,"mouseover",function(b){Cb(b);a.dispatchEvent(new P("onmouseover"))}),z.M(a.ze,"mouseout",function(b){Cb(b);a.dispatchEvent(new P("onmouseout"))}))},Le:function(a,b,c,e){if(!isNaN(a)&&!isNaN(b)&&!(this.offsetX==a&&this.offsetY==b)){var f=this.oa(),g=f.j.bb,i=this.offsetY-b,f=f.dc(this.Oa),k=this.cd.vj(this.re),m=new J(k.lng+(this.offsetX-a)*f,k.lat-(this.offsetY-b)*f);m.lat-this.height/2*f<=g.Zd&&0<=i&&(b=g.Zd+this.height/2*f,b=this.offsetY-(k.lat-b)/f);m.lat+ this.height/2*f>g.Xd&&0>i&&(b=g.Xd-this.height/2*f,b=this.offsetY-(k.lat-b)/f);this.ik(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.ze.style.left=-a+"px";this.ze.style.top=-b+"px";e!=t&&this.dispatchEvent(new P("onmoving"))}},qi:function(a,b){if(a instanceof J){var c=this.$b(a),e=Math.round(this.width/2),f=Math.round(this.height/2),b=b||{};Math.abs(e-c.x)>this.width||Math.abs(f-c.y)> this.height||b.noAnimation?this.OI(e-c.x,f-c.y,a):this.El(e-c.x,f-c.y,{duration:b.duration})}},OI:function(a,b,c){var e=this.R;e.Jc!=q&&(e.ob&&e.ob.stop(),this.dispatchEvent(new P("onmovestart")),this.Le(this.offsetX+a,this.offsetY+b,c),this.dispatchEvent(new P("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.El(a,b):this.OI(a,b)},El:function(a,b,c){if(this.R.Jc!=q){c=c||{};this.dispatchEvent(new P("onmovestart")); var e=this,f=e.R;f.zy=e.offsetX;f.k=e.offsetY;f.XF&&f.XF.cancel();f.ob&&f.ob.stop();f.XF=new tb({Ic:c.Ic||e.K.Ic,duration:c.duration||e.K.iV,kc:c.kc||ub.dL,va:function(c){(this.TF=e.R.Jc)||e.Le(f.zy+Math.ceil(a*c),f.k+Math.ceil(b*c))},finish:function(){e.dispatchEvent(new P("onmoveend"));e.R.XF=t;e.R.vi==q&&(e.R.vi=t,0!=e.R.nc&&e.gb())}})}},nY:function(a,b){var c=this.oa();if("object"!=typeof c)return s;c=256*c.dc(b);a=S.Eb(a);return{Hy:parseInt(a.lng/c),Vw:parseInt(a.lat/c),xg:b}}}); T(X,{panTo:X.qi,panBy:X.Ag}); ');
|