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.

1 line
2.0 KiB

/**/_jsload2 && _jsload2('groundoverlay', 'x.extend(vd.prototype,{Ab:function(){if(this.map){this.V||this.Pj();var a=this.map.ga();if(a<this.z.Ts||a>this.z.Ss)this.U();else{var b=this.z.$a.xe(),c=this.z.$a.pf(),a=this.map.We(b).x,d=this.map.We(c).y,c=this.map.We(c).x,b=this.map.We(b).y;this.V.style.left=a+"px";this.V.style.top=d+"px";this.V.style.width=c-a+"px";this.V.style.height=b-d+"px";this.show()}}},draw:function(){this.Ab()},Pj:function(){if(!this.V){this.V=document.createElement("div");var a=this.V.style;a.cssText="position: absolute; -moz-user-select: none; overflow: hidden;"; a.zIndex=jd.Sm(this.z.$a.xe().lat);if(this.z.opacity||0===this.z.opacity)a.opacity=this.z.opacity,a.filter="alpha(opacity="+100*parseInt(this.z.opacity,10)+")";this.Rg=document.createElement("img");this.Rg.style.width="100%";this.z.i0&&(this.Rg.style.height="100%");this.V.appendChild(this.Rg);var b=this;this.Rg.onload=function(){b.c2=b.Rg.naturalWidth||b.Rg.width;b.b2=b.Rg.naturalHeight||b.Rg.height};this.z.Hp&&(this.Rg.src=this.z.Hp);this.map.Rf().eF.appendChild(this.V);b=this;x.M(this.V,"click", function(a){b.dispatchEvent(new N("click"),a)});x.M(this.V,"dblclick",function(a){b.dispatchEvent(new N("dblclick"),a)})}},E_:function(a){this.z.$a=a;this.map&&this.Ab();this.V.style.zIndex=jd.Sm(this.z.$a.xe().lat)},Kd:function(){return this.z.$a},aG:function(a){this.z.opacity=a;this.V.style.opacity=a;this.V.style.filter="alpha(opacity="+100*parseInt(a,10)+")"},jY:function(){return this.z.opacity},M_:function(a){this.z.Hp=a;this.Rg&&(this.Rg.src=a)},YX:function(){return this.z.Hp},r5:function(a){this.z.Ts= a},B3:function(){return this.z.Ts},q5:function(a){this.z.Ss=a},A3:function(){return this.z.Ss}});vd.prototype.setBounds=vd.prototype.E_;vd.prototype.getBounds=vd.prototype.Kd;vd.prototype.setOpacity=vd.prototype.aG;vd.prototype.getOpacity=vd.prototype.jY;vd.prototype.setImageURL=vd.prototype.M_;vd.prototype.getImageURL=vd.prototype.YX;vd.prototype.setDispalyOnMinLevel=vd.prototype.p5;vd.prototype.setDispalyOnMaxLevel=vd.prototype.o5; ');