Don't set zoomOffset - maxResolution and numZoomLevels is enough. r=fredj (closes http://trac.osgeo.org/openlayers/ticket/3550)

This commit is contained in:
ahocevar
2011-12-07 14:53:53 +01:00
parent ae56952f00
commit f79520cf9d
2 changed files with 17 additions and 2 deletions

View File

@@ -144,7 +144,6 @@ OpenLayers.Layer.Bing = OpenLayers.Class(OpenLayers.Layer.XYZ, {
maxResolution: Math.min(
this.serverResolutions[res.zoomMin], this.maxResolution
),
zoomOffset: res.zoomMin,
numZoomLevels: Math.min(
res.zoomMax + 1 - res.zoomMin, this.numZoomLevels
)