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.
2 lines
15 KiB
2 lines
15 KiB
3 months ago
|
/**/_jsload2&&_jsload2('navictrl', 'z.extend(lb.prototype,{tf:function(){this.M&&this.Fe(this.M)},initialize:function(a){Ub.prototype.initialize.call(this,a);this.zq();this.jv();this.Ea();this.fa={};!I()?this.gP():this.fP();this.kv(a.ka());this.hP(a);this.m.KV&&this.UZ();return this.P},zq:function(){this.Ei||(this.Ei=p,this.XR=19,this.Mn=-1,this.nv=6,this.Kj=1,this.Uk=this.Bn=-1,this.lv=this.jI=this.Jf=s,this.Hy="1100")},hP:function(a){var b=this;a.addEventListener("zoomend",function(){b.M&&(b.kv(b.M.ka()),!b.uH&&b.Dq&&(b.zf=setTimeout(function(){b.Cz()}, 1E3)))});a.addEventListener("mousewheel",function(){b.M&&(b.M.U.vo&&b.Dq)&&(b.zf&&(clearTimeout(b.zf),b.zf=s),b.hI())});a.addEventListener("load",function(){b.M&&b.kv(b.M.ka())});a.addEventListener("maptypechange",function(){b.M&&b.he()});a.addEventListener("zoomspanchange",function(){b.M&&b.he()})},he:function(){this.jv();this.Gm(this.m.type);this.M&&this.kv(this.M.ka())},jv:function(){var a=this.M.va();this.Ch=this.M.U.gc;this.Cf=this.M.U.pc;this.Dq=a==Sa||this.Ch!=a.aj()||this.Cf!=a.Xh()?t:p;this.P&& (this.P.style.width=this.FG(0).width+"px");this.m.FE||(this.Dq=t);this.Mn=this.Cf-this.Ch+1;this.Bn=this.Kj+(this.Mn-1)*this.nv},Ea:function(){Ub.prototype.Ea.call(this);var a=6==z.ga.ma?" BMap_ie6":"",b=" BMap_stdMpType"+this.m.type,c=this.P;z.R.eb(c,"BMap_stdMpCtrl");z.R.eb(c,a);z.R.eb(c,b);c.innerHTML=this.oq(this.m.type);this.LA(z.ga.opera?"pointer":H.yc);this.ld=z.da(c.children[0]);a=this.Jf=z.da(c.children[1]);this.rh=z.da(a.children[0]);this.Yf=z.da(a.children[1]);this.jI=z.da(a.children[2]); this.lv=z.da(a.children[2].children[0]);this.mv=z.da(a.children[2].children[1]);this.pF=this.P.children[1];this.EC=this.P.children[2];this.Gm(this.m.type)},cT:function(){var a=this.FG(this.m.type),b=a.width,c=a.height,e=a.St,a=a.zt,f=(this.XR-this.Mn)*this.nv;0==this.m.type&&(c=0<=c-f?c-f:0,e=0<=e-f?e-f:0,a=0<=a-f?a-f:0);this.P.style.width=b+"px";this.P.style.height=c+"px";this.Jf.style.height=e+"px";this.Jf.style.width=b+"px";this.Yf.style.top=I()?"44px":e-21+"px";this.jI.style.height=a+"px";this.lv.style.height= a+"px";this.Jf.children[0].style.left=3==this.m.type?this.Jf.children[1].style.left="0":this.Jf.children[1].style.left=""},FG:function(a){var b=62;if(!this.m.FE||this.M.va()==Sa)b=37;return[{width:b,height:204,St:159,iy:37,zt:120,Xx:120},{width:37,height:97,St:42,iy:37,zt:0,Xx:0},{width:37,height:57,St:0,iy:0,zt:0,Xx:0},{width:22,height:42,St:42,iy:18,zt:0,Xx:0},{width:35,height:71,iy:35,St:71,zt:0,Xx:0}][a]},oq:function(){var a=[];a.push(this.mz());a.push(this.nz());a.push(this.KQ());return a.join("")}, mz:ea(\'<div class="BMap_stdMpPan"><div class="BMap_button BMap_panN" title="\\u5411\\u4e0a\\u5e73\\u79fb"></div><div class="BMap_button BMap_panW" title="\\u5411\\u5de6\\u5e73\\u79fb"></div><div class="BMap_button BMap_panE" title="\\u5411\\u53f3\\u5e73\\u79fb"></div><div class="BMap_button BMap_panS" title="\\u5411\\u4e0b\\u5e73\\u79fb"></div><div class="BMap_stdMpPanBg BMap_smcbg"></div></div>\'),nz:function(){return I()?[\'<div class="BMap_stdMpZoom" style="width: 35px; height: 71px; background: rgba(255,255,255,.8); -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,.4); border-radius: 3px;"><div class="BMap_button BMap_stdMpZoomIn" title="\\u653e\\u5927\\u4e00\\u7ea7" style="position: initial; background: initial; border-radius: initial; box-shadow: initial; width: 35px; height: 35px;">\', \'<div class="BMap_smcbg" style="position: initial; width: 35px; height: 35px; background-image: url(\'+D.oa+\'images/navigation-control/mobile/plus-28x29.png); background-size: 14px 15px; background-position: center; background-repeat: no-repeat;">\',\'</div></div><div class="BMap_button BMap_stdMpZoomOut" title="\\u7f29\\u5c0f\\u4e00\\u7ea7" style="position: initial; background: initial; border-radius: initial; box-shadow: initial; width: 35px; height: 35px; border-top: 1px solid #ececec;">\',\'<div class="BMap_smcbg" style="position: initial; width: 35px; height: 35px; background-image: url(\'+ D.oa+\'images/navigation-control/mobile/minus-30x6.png); background-size: 15px 3px; b
|