Making it possible to use a custom SRS identifier for spherical mercator layers. r=bartvde (closes #2665)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10384 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -63,7 +63,7 @@ OpenLayers.Layer.SphericalMercator = {
|
||||
this.RESOLUTIONS[zoom] = maxResolution / Math.pow(2, zoom);
|
||||
}
|
||||
this.units = "m";
|
||||
this.projection = "EPSG:900913";
|
||||
this.projection = this.projection || "EPSG:900913";
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user