Changeset 7688
- Timestamp:
- 08/04/08 05:20:23 (4 months ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Layer.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Layer.js
r7627 r7688 688 688 } 689 689 690 // Do not use the scales /resolutions at the map level if691 // minScale/minResolution and maxScale/maxResolution are692 // specified at thelayer level693 if ( this.options.minScale != null &&694 this.options.maxScale != null&&690 // Do not use the scales array set at the map level if 691 // either minScale or maxScale or both are set at the 692 // layer level 693 if ((this.options.minScale != null || 694 this.options.maxScale != null) && 695 695 this.options.scales == null) { 696 696 697 confProps.scales = null; 697 698 } 698 if (this.options.minResolution != null && 699 this.options.maxResolution != null && 699 // Do not use the resolutions array set at the map level if 700 // either minResolution or maxResolution or both are set at the 701 // layer level 702 if ((this.options.minResolution != null || 703 this.options.maxResolution != null) && 700 704 this.options.resolutions == null) { 705 701 706 confProps.resolutions = null; 702 707 }
