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
This commit is contained in:
@@ -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[]
|
||||
|
||||
Reference in New Issue
Block a user