📄 mapbar25.js
字号:
this.top=top;
this.cV$='';if(this.X4m!=2){this.cV$+='<IMG unselectable="on" style="position:absolute;left:'+(left+10)+'px;top:'+(top+10)+'px;filter=alpha(opacity=60);" src="'+strImgsvrUrl+'images/'+this.g4nvn+'panshadow.png" >';
this.cV$+='<IMG id="ctrlw" unselectable="on" title="'+$2TG[0]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,1);" style="position:absolute;left:'+(left+10)+'px;top:'+(top+30)+'px;width:17px;height:17px;" src="'+strImgsvrUrl+'images/'+this.g4nvn+'west.png" >';
this.cV$+='<IMG id="ctrln" unselectable="on" title="'+$2TG[1]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,2);" style="position:absolute;left:'+(left+30)+'px;top:'+(top+10)+'px;width:17px;height:17px;" src="'+strImgsvrUrl+'images/'+this.g4nvn+'north.png" >';
this.cV$+='<IMG id="ctrle" unselectable="on" title="'+$2TG[2]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,3);" style="position:absolute;left:'+(left+50)+'px;top:'+(top+30)+'px;width:17px;height:17px;" src="'+strImgsvrUrl+'images/'+this.g4nvn+'east.png" >';
this.cV$+='<IMG id="ctrls" unselectable="on" title="'+$2TG[3]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,4);" style="position:absolute;left:'+(left+30)+'px;top:'+(top+50)+'px;width:17px;height:17px;" src="'+strImgsvrUrl+'images/'+this.g4nvn+'south.png" >';
this.cV$+='<IMG id="ctrlmeas" unselectable="on" title="'+$2TG[4]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,7);" style="position:absolute;left:'+(left+30)+'px;top:'+(top+30)+'px;width:17px;height:17px;" src="'+strImgsvrUrl+'images/'+this.g4nvn+'measure.png" >'}this.cV$+='<IMG unselectable="on" style="position:absolute;left:'+(left+31)+'px;top:'+(top+81)+'px;filter=alpha(opacity=60);" src="'+strImgsvrUrl+'images/'+this.g4nvn+'gridshadow.png" >';
this.cV$+='<IMG unselectable="on" style="position:absolute;left:'+(left+31)+'px;top:'+(this._91+1)+'px;filter=alpha(opacity=60);" src="'+strImgsvrUrl+'images/'+this.g4nvn+'gridshadow.png" >';if(this.X4m==0){this.cV$+='<IMG id="ctrlbg2" unselectable="on" style="position:absolute;left:'+(left+31)+'px;top:'+(top+97)+'px;filter=alpha(opacity=60);" src="'+strImgsvrUrl+'images/'+this.g4nvn+'zoom-bg2.png" >';
this.cV$+='<IMG id="ctrlbg" unselectable="on" title="'+$2TG[5]+'" onmousemove=style.cursor="default" onclick="javascript:PerformControl(event, this, 8);" style="position:absolute;left:'+(left+30)+'px;top:'+(top+96)+'px;" src="'+strImgsvrUrl+'images/'+this.g4nvn+'zoom-bg.png" >'}this.cV$+='<IMG id="ctrlzmin" unselectable="on" title="'+$2TG[6]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,5);" style="position:absolute;left:'+(left+30)+'px;top:'+(top+80)+'px;width:17px;height:17px;" src="'+strImgsvrUrl+'images/'+this.g4nvn+'zoom-plus.png" >';
this.cV$+='<IMG id="ctrlzmout" unselectable="on" title="'+$2TG[7]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,6);" style="position:absolute;left:'+(left+30)+'px;top:'+this._91+'px;width:17px;height:17px;" src="'+strImgsvrUrl+'images/'+this.g4nvn+'zoom-minus.png" >';
this.VL42=new GVCM$("LayerControl",left,top,0,0,_4L,$a3K,this.cV$,B32);
this.VL42.n094w.KDkh2=KDkh2;if(this.X4m==0){this.V7u=document.createElement("div");
this.V7u.id="ctrlslider";
this.V7u.unselectable="on";
this.V7u.innerHTML='<IMG id="ctrlsliderimg" src='+strImgsvrUrl+'images/'+this.g4nvn+'slider.png>';
this.V7u.style.position="absolute";
this.V7u.style.top=(parseInt(this.top)+165)+"px";
this.V7u.style.left=(parseInt(this.left)+30)+"px";
this.V7u.style.width="17px";
this.V7u.style.height="9px";
this.V7u.ue2=0;
this.VL42.n094w.appendChild(this.V7u);
this.VL42.n094w.V7u=this.V7u;
this.V7u.style.top=((j3yjN-Wj7)*(132/(j3yjN-1))+100+parseInt(this.top))+"px";
this.V7u.firstChild.onmousedown=function(Fy2){return false};
this.V7u.VL42=this;
this.V7u.onmousedown=function(Fy2){if(this.ue2==0){this.ue2=parseInt((VH6G)?event.clientY:Fy2.clientY)-parseInt(this.VL42.top);if(this.setCapture)this.setCapture();
this.style.cursor="move"}else{this.ue2=0}if(x5m)h_2b(this.ue2);return true};
this.V7u.ondrag=function(Fy2){if(this.ue2>0){var maplet=this.parentNode.KDkh2;
this.style.cursor="move";var A49=parseInt((VH6G)?event.clientY:Fy2.clientY)-5-maplet.offsetY-parseInt(maplet.top)-2*parseInt(this.VL42.top);if(A49>=100&&A49<244){this.style.top=(A49+parseInt(this.VL42.top))+"px";var Li388=132;if(VH6G){var y=parseInt((VH6G)?event.clientY:Fy2.clientY)-3-maplet.offsetY-parseInt(maplet.top)-2*parseInt(this.VL42.top);var Wj7=j3yjN-Math.max(0,Math.min(j3yjN,parseInt(((parseInt(y)-100)/(j3yjN-1))*(Li388/(j3yjN-1)))/(Li388/(j3yjN))));if(x5m)h_2b("ondrag: currTop="+A49+","+this.VL42.top+","+y+":"+Wj7);maplet.f4x5e(Wj7);
this.style.cursor="move";
this.parentNode.style.cursor="move"}}return true}return false};
this.V7u.ondragend=function(Fy2){if(this.ue2>0){var maplet=this.parentNode.KDkh2;var y=parseInt((VH6G)?event.clientY:Fy2.clientY)-maplet.offsetY-parseInt(maplet.top)-2*parseInt(this.VL42.top);var Wj7=j3yjN-Math.max(0,Math.min(j3yjN,parseInt((parseInt(y)-100)/(132/(j3yjN-1)))));if(x5m)h_2b("ondragend:"+this.VL42.top+","+y+":"+Wj7);
this.parentNode.bgY1$(Wj7);maplet.R672.n094w.style.zoom=1;maplet.setZoomLevel(parseInt(Wj7));
this.ue2=0;if(this.releaseCapture)this.releaseCapture()}this.ue2=0;
this.style.cursor="default";return true}};
this.onmousedown=function(){return false};
this.onmousemove=function(Fy2){if(this.V7u){return(VH6G)?this.V7u.ondrag():this.V7u.ondrag(Fy2)}else{return false}};
this.onmouseup=function(Fy2){return(this.V7u)?((VH6G)?this.V7u.ondragend():this.V7u.ondragend(Fy2)):false};
this.onmouseout=function(){return false};
this.VL42.n094w.bgY1$=function(Wj7){if(this.V7u){this.V7u.style.top=((j3yjN-Wj7)*(132/(j3yjN-1))+100+(parseInt(this.style.top)))+"px";if(this.V7u.parentNode==null||this.V7u.parentNode!=this){this.appendChild(this.V7u)}}};
this.bgY1$=function(Wj7){this.VL42.n094w.bgY1$(Wj7)};
this.hide=function(){this.VL42.hide()};
this.show=function(){this.VL42.show()};
this.C8k7=function(){this.VL42.n094w.KDkh2=null;if(this.VL42.n094w!=null&&this.VL42.n094w.parentNode!=null){this.VL42.n094w.parentNode.removeChild(this.VL42.n094w);
this.VL42.n094w=null}}};function PerformControl(Fy2,ak3,PR0l){var maplet=ak3.parentNode.KDkh2;switch(PR0l){case 1:hideBubble(maplet);maplet.panTo(parseInt(maplet.width)/2,0);break;case 2:hideBubble(maplet);maplet.panTo(0,parseInt(maplet.height)/2);break;case 3:hideBubble(maplet);maplet.panTo(-parseInt(maplet.width)/2,0);break;case 4:hideBubble(maplet);maplet.panTo(0,-parseInt(maplet.height)/2);break;case 5:hideBubble(maplet);maplet.zoomIn();break;case 6:hideBubble(maplet);maplet.zoomOut();break;case 7:hideBubble(maplet);maplet.setMode(L4W.s19);break;case 8:hideBubble(maplet);var yoffset=parseInt(ak3.style.top)-96+parseInt(maplet.VL42.top);var y=parseInt((VH6G)?event.clientY:Fy2.clientY)-parseInt(maplet.offsetY)-parseInt(maplet.top);y-=yoffset;if(!VH6G&&maplet.Wb7W.style.position!="absolute"){}var Wj7=j3yjN-Math.max(0,Math.min(j3yjN,parseInt((parseInt(y)-100)/(132/(j3yjN-1)))));ak3.parentNode.bgY1$(Wj7);maplet.setZoomLevel(Wj7);break;default:break}};var B88T=null;function showMouseTipBox(x,y,aYkf,B32){try{if(B88T==null||B88T=="undefined"){var Ycb9y='<table border="1" cellspacing="0" cellpadding="0" bordercolor=#FF0000>'+'<tr><td width="100%" bgcolor=#FFFFCC>'+'<font class="ptlabel" color="#000000" >'+aYkf+'</font>'+'</td></tr>'+'</table>';B88T=CQ8$v("mousetipbox",parseInt(x)+10,parseInt(y)+18,70,20,1,100,Ycb9y);B88T.unselectable="on";B88T.style.wY3="none"}else{B88T.style.left=(parseInt(x)+10)+"px";B88T.style.top=(parseInt(y)+18)+"px";B88T.visibility="visible"}if(B88T!=null&&(B88T.parentNode==null||B88T.parentNode!=B32)){B32.appendChild(B88T)}}catch(Fy2){}};function j222(){if(B88T!=null){if(B88T.parentNode!=null){B88T.parentNode.removeChild(B88T)}B88T=null}};function eKl(Fy2){return(VH6G)?event.srcElement.id:Fy2.target.id};function imageTileError(L3v){if(L3v.width==300&&L3v.ntry=="0"){L3v.ntry="1";var A038Q=L3v.src+"?";L3v.src=A038Q}else if(L3v.width==300&&L3v.ntry=="1"){L3v.ntry="2";var A038Q=L3v.src+"?";L3v.src=A038Q}else{L3v.ntry="3";L3v.onerror=null;L3v.src=strImgsvrUrl+"images/mask.gif";L3v.style.width="300px";L3v.style.height="300px"}};function imageTileOk(L3v){L3v.onerror=null;L3v.onload=null;L3v.style.width="300px";L3v.style.height="300px"};function G5p(maplet,Wj7,left,top,e_490,dvYa,_4L,B32,g4nvn){this.maplet=maplet;
this.left=left;
this.top=top;
this.width=e_490;
this.height=dvYa;
this.V00$=Wj7;
this.G73m=51;
this.O3Ud0=18;
this.s2F7=16;
this.B62=false;
this.B32=B32;
this.g4nvn=(typeof g4nvn!="undefined")?g4nvn:"";
this.bpU5L=0;
this.p7o=0;
this.PkGW=new GVCM$("LayerZoomBar",this.left,this.top,this.width,this.height,_4L,2,'',this.B32);var uB1=(j3yjN/2)*(this.height-this.O3Ud0*2-this.G73m)/j3yjN+this.O3Ud0;
this.FMLRM=e647S(strImgsvrUrl+"images/"+this.g4nvn+"/zoombg.gif",0,0,this.s2F7,this.height);
this.W48=e647S(strImgsvrUrl+"images/"+this.g4nvn+"/zoombg2.gif",0,0,this.s2F7,uB1);
this.e0d=e647S(strImgsvrUrl+"images/"+this.g4nvn+"/zoomin.gif",0,0,this.s2F7,this.O3Ud0);
this.b3DQa=e647S(strImgsvrUrl+"images/"+this.g4nvn+"/zoomout.gif",0,this.height-this.O3Ud0,this.s2F7,this.O3Ud0);
this.A679=e647S(strImgsvrUrl+"images/"+this.g4nvn+"/slider.gif",0,uB1,this.s2F7,this.G73m);
this.A679.id="zoombarSlider";
this.PkGW.n094w.appendChild(this.FMLRM);
this.PkGW.n094w.appendChild(this.W48);
this.PkGW.n094w.appendChild(this.e0d);
this.PkGW.n094w.appendChild(this.b3DQa);
this.PkGW.n094w.appendChild(this.A679);
this.A679.onmousedown=function(Fy2){return false};
this.setZoomLevel=function(Wj7){Wj7=parseInt(Wj7);if(Wj7<0)Wj7=0;if(Wj7>j3yjN)Wj7=j3yjN;if(this.V00$!=Wj7){this.V00$=Wj7;
this.refresh()}};
this.setStyle=function(g4nvn){if(typeof g4nvn!="undefined"&&this.g4nvn!=g4nvn){this.g4nvn=g4nvn;
this.FMLRM.src=(strImgsvrUrl+"images/"+this.g4nvn+"/zoombg.gif");
this.W48.src=(strImgsvrUrl+"images/"+this.g4nvn+"/zoombg2.gif");
this.e0d.src=(strImgsvrUrl+"images/"+this.g4nvn+"/zoomin.gif");
this.b3DQa.src=(strImgsvrUrl+"images/"+this.g4nvn+"/zoomout.gif");
this.A679.src=(strImgsvrUrl+"images/"+this.g4nvn+"/slider.gif")}};
this.getZoomLevel=function(){return this.V00$};
this.show=function(){this.PkGW.show();
this.A679.style.visibility="visible"};
this.hide=function(){this.PkGW.hide();
this.A679.style.visibility="hidden"};
this.resize=function(dvYa){this.height=parseInt(dvYa);
this.PkGW.resize(this.width,this.height);
this.FMLRM.style.height=this.height+"px";
this.b3DQa.style.top=(this.height-this.O3Ud0)+"px";
this.refresh()};
this.moveTo=function(x,y){this.left=x;
this.top=y;
this.PkGW.moveTo(this.left,this.top)};
this.refresh=function(){this.paint()};
this.paint=function(){var uB1=(j3yjN-this.V00$)*(this.height-this.O3Ud0*2-this.G73m)/j3yjN+this.O3Ud0;
this.W48.style.height=parseInt(uB1)+"px";if(this.A679!=null){this.A679.style.top=uB1;if(this.A679.parentNode==null){this.PkGW.n094w.appendChild(this.A679)}}};
this.zoomIn=function(){this.setZoomLevel(this.V00$+1)};
this.zoomOut=function(){this.setZoomLevel(this.V00$-1)};
this.D53=function(x,y){if((x>this.left)&&(x<this.left+this.width)&&(y>this.top)&&(y<this.top+this.height)){return true}else return false};
this.ap4m6=function(m10,x,y){if(this.Pyp9b){y=y-this.G73m/2;var Wj7=j3yjN*(this.height-y-this.O3Ud0-this.G73m)/(this.height-this.O3Ud0*2-this.G73m);if(y>this.O3Ud0&&y<(this.height-this.O3Ud0-this.G73m)){this.A679.style.top=parseInt(y)+"px";
this.W48.style.height=parseInt(y)+"px";if(VH6G)this.maplet.f4x5e(Wj7)}return true}if(this.D53(x,y)){if(y<(this.O3Ud0)||y>(this.height-this.O3Ud0)){this.PkGW.style.cursor=(VH6G)?'hand':'pointer'}else if(m10=="zoombarSlider"){this.PkGW.style.cursor=(VH6G)?'hand':'pointer'}else{this.PkGW.style.cursor='default'}return true}return false};
this.JB5X5=function(x,y){this.bpU5L=x;
this.p7o=y;if(this.D53(x,y)){this.Pyp9b=true}else{this.Pyp9b=false}return this.Pyp9b};
this.e17f=function(x,y){var HL8y=false;
this.maplet.R672.n094w.style.zoom=1;if(this.Pyp9b){if(y<this.O3Ud0){this.zoomIn()}else if(y>(this.height-this.O3Ud0)){this.zoomOut()}else{y=y-this.G73m/2;y=(y>(this.height-this.O3Ud0-this.G73m))?(this.height-this.O3Ud0-this.G73m):((y<this.O3Ud0)?this.O3Ud0:y);var Wj7=j3yjN*(this.height-y-this.O3Ud0-this.G73m)/(this.height-this.O3Ud0*2-this.G73m);
this.setZoomLevel(parseInt(Wj7+0.5))}HL8y=true}this.Pyp9b=false;return HL8y};
this.i4H4=function(x,y){}};if(!VH6G)document.write('<script language="javascript" src="js/avgraphics.js"></script>');function TYvPS(){this.f5E4='1';
this.V6c='2';
this.k_35='3';
this.J9x='5';
this.i654='6';
this.$gM5T='7';
this.kH819='8';
this.$p1U='9';
this.aN0M1='10';
this.s19='11';
this.L4_='12';
this._00x0='13';
this.q43G='14';
this.s4H='23';
this.w78='15'};var L4W=new TYvPS();function xS3(dvYa,YlA4,zIndex){if(YlA4!="undefined"&&YlA4!="")dvYa.src=YlA4;dvYa.style.zIndex=zIndex};var QOT=new Array();QOT["icon1"]=strImgsvrUrl+'images/'+"number1.gif";QOT["icon2"]=strImgsvrUrl+'images/'+"number2.gif",QOT["icon3"]=strImgsvrUrl+'images/'+"number3.gif",QOT["icon4"]=strImgsvrUrl+'images/'+"number4.gif",QOT["icon5"]=strImgsvrUrl+'images/'+"number5.gif",QOT["icon6"]=strImgsvrUrl+'images/'+"number6.gif",QOT["icon7"]=strImgsvrUrl+'images/'+"number7.gif",QOT["icon8"]=strImgsvrUrl+'images/'+"number8.gif",QOT["icon9"]=strImgsvrUrl+'images/'+"number9.gif",QOT["icon10"]=strImgsvrUrl+'images/'+"number10.gif";var F9d06=new Array();F9d06["icon1"]=strImgsvrUrl+'images/'+"number1-2.gif",F9d06["icon2"]=strImgsvrUrl+'images/'+"number2-2.gif",F9d06["icon3"]=strImgsvrUrl+'images/'+"number3-2.gif",F9d06["icon4"]=strImgsvrUrl+'images/'+"number4-2.gif",F9d06["icon5"]=strImgsvrUrl+'images/'+"number5-2.gif",F9d06["icon6"]=strImgsvrUrl+'images/'+"number6-2.gif",F9d06["icon7"]=strImgsvrUrl+'images/'+"number7-2.gif",F9d06["icon8"]=strImgsvrUrl+'images/'+"number8-2.gif",F9d06["icon9"]=strImgsvrUrl+'images/'+"number9-2.gif",F9d06["icon10"]=strImgsvrUrl+'images/'+"number10-2.gif";var qcmTN=new Array();var h597=new Array();var w_0L3=new pvlC("undefined");var UNG8=2;function pvlC(id,_ki,X0a8,J3W,a7K43,xs6I,Ycb9y,Y4y59,i$V8){this.J3W=J3W;
this.a7K43=a7K43;
this.$2C$0=function(_ki,X0a8){if(_ki!="undefined"&&_ki!=""){this._ki=_ki;
this.F7N6.src=_ki;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -