Use OpenLayers.Projection.defaults values.

This commit is contained in:
fredj
2012-02-16 09:20:41 +01:00
parent 262e2d5bc0
commit 1cc8770476
13 changed files with 8 additions and 65 deletions

View File

@@ -7,12 +7,7 @@ function init() {
var mercator = new OpenLayers.Projection("EPSG:900913");
map = new OpenLayers.Map('map', {
projection: mercator,
units: "m",
maxResolution: 156543.0339,
maxExtent: new OpenLayers.Bounds(
-20037508, -20037508, 20037508, 20037508
)
projection: mercator
});
var g = new OpenLayers.Layer.Google("Google Layer", {