rem: var res = this.getResolution(); var size = this.map.getSize(); var w_deg = size.w * res; var h_deg = size.h * res; 
add: var res = this.getResolution(); var size = this.map.getSize(); var w_deg = size.w * res; var h_deg = size.h * res; 
context:     getExtent: function () {        var extent = null;        var center = this.map.getCenter();        if (center != null) { 	            var res = this.getResolution(); 	            var size = this.map.getSize(); 	            var w_deg = size.w * res; 	            var h_deg = size.h * res; 	            return new OpenLayers.Bounds(center.lon - w_deg / 2,                         	                 center.lat - h_deg / 2,                         	                 center.lon + w_deg / 2,                          	                 center.lat + h_deg / 2);        }        return extent;    },
meta: 8310	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8310/3962b0a814b2f399cce929b9ec3bc2812aeafc35/Grid.js/buggy/lib/OpenLayers/Layer/Grid.js