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

@@ -4,12 +4,7 @@ function init() {
map = new OpenLayers.Map({
div: "map",
projection: "EPSG:900913",
units: "m",
maxExtent: new OpenLayers.Bounds(
-20037508.34, -20037508.34, 20037508.34, 20037508.34
),
maxResolution: 156543.0339
projection: "EPSG:900913"
});
var osm = new OpenLayers.Layer.OSM();