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.
pingAnQiYeWeb/public/modules/navictrl_ghuvw3.js

1 line
15 KiB

1 year ago
/**/_jsload2 && _jsload2('navictrl', 'x.extend(nb.prototype,{yf:function(){this.D&&this.Ie(this.D)},initialize:function(a){Rc.prototype.initialize.call(this,a);this.Er();this.mw();this.Ba();this.ca={};!J()?this.UQ():this.TQ();this.nw(a.ga());this.VQ(a);this.k.mX&&this.b0();return this.C},Er:function(){this.Ui||(this.Ui=o,this.MT=19,this.Io=-1,this.rw=6,this.ek=1,this.rl=this.xo=-1,this.ow=this.OJ=this.Of=p,this.Zq="1100")},VQ:function(a){var b=this;a.addEventListener("zoomend",function(){b.D&&(b.nw(b.D.ga()),!b.$I&&b.Jr&&(b.Df=setTimeout(function(){b.VA()}, 1E3)))});a.addEventListener("mousewheel",function(){b.D&&(b.D.B.lp&&b.Jr)&&(b.Df&&(clearTimeout(b.Df),b.Df=p),b.MJ())});a.addEventListener("load",function(){b.D&&b.nw(b.D.ga())});a.addEventListener("maptypechange",function(){b.D&&b.le()});a.addEventListener("zoomspanchange",function(){b.D&&b.le()})},le:function(){this.mw();this.Cn(this.k.type);this.D&&this.nw(this.D.ga())},mw:function(){var a=this.D.oa();this.Uh=this.D.B.fc;this.Gf=this.D.B.Zb;this.Jr=a==Ra||this.Uh!=a.up()||this.Gf!=a.Jm()?q:o;this.C&& (this.C.style.width=this.fI(0).width+"px");this.k.iG||(this.Jr=q);this.Io=this.Gf-this.Uh+1;this.xo=this.ek+(this.Io-1)*this.rw},Ba:function(){Rc.prototype.Ba.call(this);var a=6==x.da.ma?" BMap_ie6":"",b=" BMap_stdMpType"+this.k.type,c=this.C;x.K.Ta(c,"BMap_stdMpCtrl");x.K.Ta(c,a);x.K.Ta(c,b);c.innerHTML=this.tr(this.k.type);this.aC(x.da.opera?"pointer":I.Xb);this.ld=x.$(c.children[0]);a=this.Of=x.$(c.children[1]);this.Hh=x.$(a.children[0]);this.cg=x.$(a.children[1]);this.OJ=x.$(a.children[2]);this.ow= x.$(a.children[2].children[0]);this.qw=x.$(a.children[2].children[1]);this.MG=this.C.children[1];this.aE=this.C.children[2];this.Cn(this.k.type)},TU:function(){var a=this.fI(this.k.type),b=a.width,c=a.height,d=a.Uu,a=a.zu,e=(this.MT-this.Io)*this.rw;0==this.k.type&&(c=0<=c-e?c-e:0,d=0<=d-e?d-e:0,a=0<=a-e?a-e:0);this.C.style.width=b+"px";this.C.style.height=c+"px";this.Of.style.height=d+"px";this.Of.style.width=b+"px";this.cg.style.top=J()?"44px":d-21+"px";this.OJ.style.height=a+"px";this.ow.style.height= a+"px";this.Of.children[0].style.left=3==this.k.type?this.Of.children[1].style.left="0":this.Of.children[1].style.left=""},fI:function(a){var b=62;if(!this.k.iG||this.D.oa()==Ra)b=37;return[{width:b,height:204,Uu:159,Bz:37,zu:120,mz:120},{width:37,height:97,Uu:42,Bz:37,zu:0,mz:0},{width:37,height:57,Uu:0,Bz:0,zu:0,mz:0},{width:22,height:42,Uu:42,Bz:18,zu:0,mz:0},{width:35,height:71,Bz:35,Uu:71,zu:0,mz:0}][a]},tr:function(){var a=[];a.push(this.GA());a.push(this.HA());a.push(this.zS());return a.join("")}, GA: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>\'),HA:function(){return J()?[\'<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(\'+B.la+\'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(\'+ B.la+\'images/navigation-control/mobile/minus-30x6.png); background-size: 15px 3px; backgr