From b9c6293b2cfbeaedfca28be8d9085f32f0021ecc Mon Sep 17 00:00:00 2001 From: euzuro Date: Sat, 26 Aug 2006 02:55:14 +0000 Subject: [PATCH] Forgot to add one comment from r1379: - Added Layer/FixedZoomLevels.js, which is a new pseudo-layer that all layers which have fixed zoom levels will need to extend. It provides alternative methods to initResolutions(), getResolution(), and getExtent() which depend on the fixed zoomlevel layer implementing getLonLatFromViewPortPx(), getViewPortPxFromLonLat() and getZoomForExtent(). For documentation of how this works, see the comments in the class header. git-svn-id: http://svn.openlayers.org/trunk/openlayers@1380 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/FixedZoomLevels.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/OpenLayers/Layer/FixedZoomLevels.js b/lib/OpenLayers/Layer/FixedZoomLevels.js index 5fe25a3e28..6918e93640 100644 --- a/lib/OpenLayers/Layer/FixedZoomLevels.js +++ b/lib/OpenLayers/Layer/FixedZoomLevels.js @@ -2,6 +2,7 @@ * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * text of the license. */ + /** * Some Layers will already have established zoom levels (like google * or ve). Instead of trying to determine them and populate a resolutions[]