OpenLayers OpenLayers

Changeset 6423

Show
Ignore:
Timestamp:
02/29/08 15:13:42 (10 months ago)
Author:
tschaub
Message:

A bit more docs for fractionalZoom.

Files:

Legend:

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

    r6411 r6423  
    9595     *     to be set to a value between one of the values in the resolutions 
    9696     *     array.  Default is false. 
     97     * 
     98     * When fractionalZoom is set to true, it is possible to zoom to 
     99     *     an arbitrary extent.  This requires a base layer from a source 
     100     *     that supports requests for arbitrary extents (i.e. not cached 
     101     *     tiles on a regular lattice).  This means that fractionalZoom 
     102     *     will not work with commercial layers (Google, Yahoo, VE), layers 
     103     *     using TileCache, or any other pre-cached data sources. 
     104     * 
     105     * If you are using fractionalZoom, then you should also use 
     106     *     <getResolutionForZoom> instead of layer.resolutions[zoom] as the 
     107     *     former works for non-integer zoom levels. 
    97108     */ 
    98109    fractionalZoom: false,