var scale = Math.round((this.map.getScale() * 10000)) / 10000; var cellSize = new OpenLayers.Size(mapRes*this.tileSize.w, mapRes*this.tileSize.h); var pX = Math.round(((bounds.left) / cellSize.w) * this.tileSize.w); var pY = -Math.round(((bounds.top) / cellSize.h) * this.tileSize.h); 
var scale = Math.round((this.map.getScale() * 10000)) / 10000; var pX = Math.round(bounds.left / mapRes); var pY = -Math.round(bounds.top / mapRes); 
    getURL: function (bounds) {        var mapRes = this.map.getResolution();        var scale = Math.round((this.map.getScale() * 10000)) / 10000;                var cellSize = new OpenLayers.Size(mapRes*this.tileSize.w, mapRes*this.tileSize.h);        var pX = Math.round(((bounds.left) / cellSize.w) * this.tileSize.w);        var pY = -Math.round(((bounds.top) / cellSize.h) * this.tileSize.h);        return this.getFullRequestString(                      { t: pY,                         l: pX,                        s: scale                      });    },
2032	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2032/e61204a31ef44f8717966b8b81fcfdb65853bb0b/KaMap.js/buggy/lib/OpenLayers/Layer/KaMap.js