rem: if (this.map != null) { if (visible) { var extent = this.map.getExtent(); if (extent != null) { this.moveTo(this.map.getExtent()); } 
add: if ((visible) && (this.map != null)) { var extent = this.map.getExtent(); if (extent != null) { this.moveTo(this.map.getExtent()); 
context:     setVisibility: function(visible) {        if (visible != this.getVisibility()) {            this.div.style.display = (visible) ? "block" : "none";            if (this.map != null) {                if (visible) {                    var extent = this.map.getExtent();                    if (extent != null) {                        this.moveTo(this.map.getExtent());                    }                }                this.map.events.triggerEvent("changelayer");            }        }    },
meta: 8310	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8310/f3a072b151fd0fb48097965647921f2ea0396651/Layer.js/buggy/lib/OpenLayers/Layer.js