From 16d543a41f3db13b1327c07e6c97790bab042532 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Mon, 2 Apr 2007 00:25:27 +0000 Subject: [PATCH] Add more resolutions to the list supported by Google, up to the current maximum zoom of '19' (20 levels). Closes #613. git-svn-id: http://svn.openlayers.org/trunk/openlayers@2961 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/Google.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/OpenLayers/Layer/Google.js b/lib/OpenLayers/Layer/Google.js index 53d43d2c7b..26e9c83282 100644 --- a/lib/OpenLayers/Layer/Google.js +++ b/lib/OpenLayers/Layer/Google.js @@ -18,13 +18,13 @@ OpenLayers.Layer.Google.prototype = MIN_ZOOM_LEVEL: 0, /** @final @type int */ - MAX_ZOOM_LEVEL: 17, + MAX_ZOOM_LEVEL: 19, /** Hardcode these resolutions so that they are more closely * tied with the standard wms projection * * @final @type Array(float) */ - 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], + 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], /** @type GMapType */ type: null,