rem:   this.maxExtent = this.maxExtent || this.map.maxExtent; this.projection = this.projection || this.map.projection; this.units = this.units || this.map.units;  this.initResolutions();  if (!this.isBaseLayer) { this.inRange = this.calculateInRange(); 
add: this.map = map;    this.maxExtent = this.maxExtent || this.map.maxExtent; this.projection = this.projection || this.map.projection; this.units = this.units || this.map.units;  this.initResolutions();  if (!this.isBaseLayer) { this.inRange = this.calculateInRange(); }   this.setTileSize(); 
context:     setMap: function(map) {        this.map = map;                // grab some essential layer data from the map if it hasn't already        //  been set        this.maxExtent = this.maxExtent || this.map.maxExtent;        this.projection = this.projection || this.map.projection;        this.units = this.units || this.map.units;                this.initResolutions();                if (!this.isBaseLayer) {            this.inRange = this.calculateInRange();        }                // deal with gutters        this.setTileSize();    },
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/1603d5a8ba7dfaaa2dc66305ecce6bf0c8d5b4fc/Layer.js/clean/lib/OpenLayers/Layer.js