rem: layer.setMap(this); 
context:     addLayer: function (layer) {        layer.setMap(this);        layer.div.style.overflow = "";        layer.div.style.zIndex = this.Z_INDEX_BASE['Layer'] + this.layers.length;        if (layer.isFixed) {            this.viewPortDiv.appendChild(layer.div);        } else {            this.layerContainerDiv.appendChild(layer.div);        }        this.layers.push(layer);        this.events.triggerEvent("addlayer");        //make sure layer draws itself!        if (this.center != null) {            var bounds = this.getExtent();            layer.moveTo(bounds, true);        }        // hack hack hack - until we add a more robust layer switcher,        //   which is able to determine which layers are base layers and         //   which are not (and put baselayers in a radiobutton group and         //   other layers in checkboxes) this seems to be the most straight-        //   forward way of dealing with this.         //        if ( (this.baseLayer == null) && (layer.isBaseLayer()) ) {            this.baseLayer = layer;            this.events.triggerEvent("changebaselayer");        }    },
meta: 8310	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8310/f3a072b151fd0fb48097965647921f2ea0396651/Map.js/buggy/lib/OpenLayers/Map.js