Changeset 3316
- Timestamp:
- 06/11/07 14:29:43 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/crschmidt/wraptheworld/lib/OpenLayers/Layer.js
r3315 r3316 292 292 this.projection = this.projection || this.map.projection; 293 293 this.units = this.units || this.map.units; 294 294 295 this.initResolutions(); 295 296 … … 304 305 } 305 306 }, 306 307 307 308 /** 308 309 * Set the tile size based on the map size. This also sets layer.imageSize … … 623 624 var delta_x = viewPortPx.x - (size.w / 2); 624 625 var delta_y = viewPortPx.y - (size.h / 2); 625 626 lonlat = new OpenLayers.LonLat(center.lon + delta_x * res ,627 center.lat - delta_y * res);626 627 lonlat = new OpenLayers.LonLat(center.lon + delta_x * res , 628 center.lat - delta_y * res); 628 629 629 630 if (this.wrapDateLine) {
