use the correct maxResolution of 156543.03390625. r=bartvde (closes #3058)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11118 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -95,7 +95,7 @@ OpenLayers.Layer.SphericalMercator = {
|
||||
initMercatorParameters: function() {
|
||||
// set up properties for Mercator - assume EPSG:900913
|
||||
this.RESOLUTIONS = [];
|
||||
var maxResolution = 156543.0339;
|
||||
var maxResolution = 156543.03390625;
|
||||
for(var zoom=0; zoom<=this.MAX_ZOOM_LEVEL; ++zoom) {
|
||||
this.RESOLUTIONS[zoom] = maxResolution / Math.pow(2, zoom);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user