OpenLayers OpenLayers

Changeset 2961

Show
Ignore:
Timestamp:
04/01/07 20:25:27 (2 years ago)
Author:
crschmidt
Message:

Add more resolutions to the list supported by Google, up to the current
maximum zoom of '19' (20 levels). Closes #613.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Layer/Google.js

    r1721 r2961  
    1919     
    2020    /** @final @type int */ 
    21     MAX_ZOOM_LEVEL: 17
     21    MAX_ZOOM_LEVEL: 19
    2222 
    2323    /** Hardcode these resolutions so that they are more closely 
     
    2525     *  
    2626     * @final @type Array(float) */ 
    27     RESOLUTIONS: [1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.001373291015625,0.0006866455078125,0.00034332275390625,0.000171661376953125,0.0000858306884765625,0.00004291534423828125], 
     27    RESOLUTIONS: [1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.001373291015625,0.0006866455078125,0.00034332275390625,0.000171661376953125,0.0000858306884765625,0.00004291534423828125,.00002145767211914062,.00001072883605957031,.00000536441802978515,.00000268220901489257], 
    2828 
    2929    /** @type GMapType */