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
2.0 KiB

/**/_jsload2&&_jsload2('groundoverlay', 'z.extend(vc.prototype,{jb:function(){if(this.map){this.ba||this.uj();var a=this.map.ka();if(a<this.K.Nr||a>this.K.Mr)this.aa();else{var b=this.K.fb.Se(),c=this.K.fb.Lf(),a=this.map.Ve(b).x,e=this.map.Ve(c).y,c=this.map.Ve(c).x,b=this.map.Ve(b).y;this.ba.style.left=a+"px";this.ba.style.top=e+"px";this.ba.style.width=c-a+"px";this.ba.style.height=b-e+"px";this.show()}}},draw:function(){this.jb()},uj:function(){if(!this.ba){this.ba=document.createElement("div");var a=this.ba.style;a.cssText="position: absolute; -moz-user-select: none; overflow: hidden;"; a.zIndex=mc.pk(this.K.fb.Se().lat);this.K.opacity&&(a.opacity=this.K.opacity,a.filter="alpha(opacity="+100*parseInt(this.K.opacity,10)+")");this.Gg=document.createElement("img");this.Gg.style.width="100%";this.K.b_&&(this.Gg.style.height="100%");this.ba.appendChild(this.Gg);var b=this;this.Gg.onload=function(){b.T0=b.Gg.naturalWidth||b.Gg.width;b.S0=b.Gg.naturalHeight||b.Gg.height};this.K.im&&(this.Gg.src=this.K.im);this.map.Mf().JD.appendChild(this.ba);b=this;z.V(this.ba,"click",function(a){b.dispatchEvent(new Q("click"), a)});z.V(this.ba,"dblclick",function(a){b.dispatchEvent(new Q("dblclick"),a)})}},xZ:function(a){this.K.fb=a;this.map&&this.jb();this.ba.style.zIndex=mc.pk(this.K.fb.Se().lat)},te:function(){return this.K.fb},yE:function(a){this.K.opacity=a;this.ba.style.opacity=a;this.ba.style.filter="alpha(opacity="+100*parseInt(a,10)+")"},LW:function(){return this.K.opacity},CZ:function(a){this.K.im=a;this.Gg&&(this.Gg.src=a)},xW:function(){return this.K.im},I4:function(a){this.K.Nr=a},x2:function(){return this.K.Nr}, H4:function(a){this.K.Mr=a},w2:function(){return this.K.Mr}});vc.prototype.setBounds=vc.prototype.xZ;vc.prototype.getBounds=vc.prototype.te;vc.prototype.setOpacity=vc.prototype.yE;vc.prototype.getOpacity=vc.prototype.LW;vc.prototype.setImageURL=vc.prototype.CZ;vc.prototype.getImageURL=vc.prototype.xW;vc.prototype.setDispalyOnMinLevel=vc.prototype.G4;vc.prototype.setDispalyOnMaxLevel=vc.prototype.F4; ');