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

@@ -5,12 +5,7 @@ function init() {
div: "map",
theme: null,
projection: new OpenLayers.Projection("EPSG:900913"),
units: "m",
numZoomLevels: 18,
maxResolution: 156543.0339,
maxExtent: new OpenLayers.Bounds(
-20037508.34, -20037508.34, 20037508.34, 20037508.34
),
controls: [
new OpenLayers.Control.TouchNavigation({
dragPanOptions: {