From 7001ce1be6091bc1d0a6f54c320e631c4d2332e8 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Fri, 29 Feb 2008 21:13:42 +0000 Subject: [PATCH] A bit more docs for fractionalZoom. git-svn-id: http://svn.openlayers.org/trunk/openlayers@6423 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Map.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js index 398fb4ef92..ef56d9e58a 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -94,6 +94,17 @@ OpenLayers.Map = OpenLayers.Class({ * {Boolean} For a base layer that supports it, allow the map resolution * to be set to a value between one of the values in the resolutions * array. Default is false. + * + * When fractionalZoom is set to true, it is possible to zoom to + * an arbitrary extent. This requires a base layer from a source + * that supports requests for arbitrary extents (i.e. not cached + * tiles on a regular lattice). This means that fractionalZoom + * will not work with commercial layers (Google, Yahoo, VE), layers + * using TileCache, or any other pre-cached data sources. + * + * If you are using fractionalZoom, then you should also use + * instead of layer.resolutions[zoom] as the + * former works for non-integer zoom levels. */ fractionalZoom: false,