Changeset 1342
- Timestamp:
- 08/23/06 17:04:14 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/openlayers/2.0/lib/OpenLayers/Layer/KaMap.js
r1341 r1342 50 50 getURL: function (bounds) { 51 51 var mapRes = this.map.getResolution(); 52 var scale = Math.round((this.map.getScale() * 10000) / 10000);52 var scale = Math.round((this.map.getScale() * 10000)) / 10000; 53 53 var cellSize = new OpenLayers.Size(mapRes*this.tileSize.w, mapRes*this.tileSize.h); 54 54 var pX = Math.round(((bounds.left) / cellSize.w) * this.tileSize.w);
