overlay.js 1.37 KB
google.maps.__gjsload__('overlay', 'function Ks(a){this.b=a}L(Ks,W);Fa(Ks[D],function(a){"outProjection"!=a&&(a=!(!this.get("offset")||!this.get("projectionTopLeft")||!this.get("projection")||!N(this.get("zoom"))),a==!this.get("outProjection")&&this.set("outProjection",a?this.b:j))});function Ls(){}function Ms(){var a=this.gm_props_;if(this.getPanes()){if(this[wj]()){if(!a.cf&&this.onAdd)this.onAdd();a.cf=i;this.draw()}}else{if(a.cf)if(this[Ub])this[Ub]();else this[tb]();a.cf=k}}function Ns(a){a.gm_props_=a.gm_props_||new Ls;return a.gm_props_};function Os(){}\nOs[D].b=function(a){var b=a[jc](),c=Ns(a),d=c.Nb;c.Nb=b;d&&(c=Ns(a),(d=c.fb)&&d[Aj](),(d=c.Ng)&&d[Aj](),a[Aj](),a.set("panes",j),a.set("projection",j),O(c.U,R[jb]),c.U=j,c.nb&&(c.nb.Z(),c.nb.S(),c.nb=j));if(b){c=Ns(a);d=c.nb;d||(d=c.nb=new Ug,d.Z=P(a,Ms));O(c.U,R[jb]);var e=c.fb=c.fb||new Gl,f=b.N();e[t]("zoom",f);e[t]("offset",f);e[t]("center",f,"projectionCenterQ");e[t]("projection",b);e[t]("projectionTopLeft",f);e=c.Ng=c.Ng||new Ks(e);e[t]("zoom",f);e[t]("offset",f);e[t]("projection",b);e[t]("projectionTopLeft",\nf);a[t]("projection",e,"outProjection");a[t]("panes",f);e=P(d,d.P);c.U=[R[G](a,"panes_changed",e),R[G](f,"zoom_changed",e),R[G](f,"offset_changed",e),R[G](b,"projection_changed",e),R[G](f,"projectioncenterq_changed",e),R[E](b,Ne,d)];d.P()}};var Ps=new Os;ff.overlay=function(a){eval(a)};jf("overlay",Ps);\n')