diff --git a/examples/canvas.js b/examples/canvas.js index 6440c39a11..bb2f224f60 100644 --- a/examples/canvas.js +++ b/examples/canvas.js @@ -5,12 +5,7 @@ function init() { map = new OpenLayers.Map({ div: "map", projection: new OpenLayers.Projection("EPSG:900913"), - displayProjection: new OpenLayers.Projection("EPSG:4326"), - units: "m", - maxResolution: 156543.0339, - maxExtent: new OpenLayers.Bounds( - -20037508, -20037508, 20037508, 20037508 - ) + displayProjection: new OpenLayers.Projection("EPSG:4326") }); var g = new OpenLayers.Layer.Google("Google Layer", { diff --git a/examples/clientzoom.js b/examples/clientzoom.js index 65ae758c3c..30071edfef 100644 --- a/examples/clientzoom.js +++ b/examples/clientzoom.js @@ -5,10 +5,6 @@ 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 - ), controls: [], fractionalZoom: true }); diff --git a/examples/mobile-base.js b/examples/mobile-base.js index 5e123cc3b9..5440f932e2 100644 --- a/examples/mobile-base.js +++ b/examples/mobile-base.js @@ -41,12 +41,7 @@ var init = function (onSelectFeatureFunction) { div: "map", theme: null, projection: sm, - units: "m", numZoomLevels: 18, - maxResolution: 156543.0339, - maxExtent: new OpenLayers.Bounds( - -20037508.34, -20037508.34, 20037508.34, 20037508.34 - ), controls: [ new OpenLayers.Control.Attribution(), new OpenLayers.Control.TouchNavigation({ diff --git a/examples/mobile-drawing.js b/examples/mobile-drawing.js index 34b26ec30f..13494ef321 100644 --- a/examples/mobile-drawing.js +++ b/examples/mobile-drawing.js @@ -41,12 +41,7 @@ function init() { map = new OpenLayers.Map({ div: 'map', 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: { diff --git a/examples/mobile-navigation.js b/examples/mobile-navigation.js index ce08b498e6..57929e9de3 100644 --- a/examples/mobile-navigation.js +++ b/examples/mobile-navigation.js @@ -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: { diff --git a/examples/osm-google.js b/examples/osm-google.js index 77d96d82f4..aaa823395f 100644 --- a/examples/osm-google.js +++ b/examples/osm-google.js @@ -3,12 +3,7 @@ var map; function init() { map = new OpenLayers.Map({ div: "map", - projection: new OpenLayers.Projection("EPSG:900913"), - units: "m", - maxResolution: 156543.0339, - maxExtent: new OpenLayers.Bounds( - -20037508, -20037508, 20037508, 20037508.34 - ) + projection: new OpenLayers.Projection("EPSG:900913") }); var osm = new OpenLayers.Layer.OSM(); diff --git a/examples/overviewmap.html b/examples/overviewmap.html index 2cb9df9fc9..165c987e8b 100644 --- a/examples/overviewmap.html +++ b/examples/overviewmap.html @@ -91,8 +91,7 @@ maxExtent: new OpenLayers.Bounds(-8242894.927728, 4965204.031195, -8227290.161511, 4994963.723637), maxResolution: 116.24879860156216, - projection: "EPSG:900913", - units: "m" + projection: "EPSG:900913" }; var map2 = new OpenLayers.Map('map2', mapOptions); diff --git a/examples/spherical-mercator.html b/examples/spherical-mercator.html index bb95cbb87d..ea6c2246d5 100644 --- a/examples/spherical-mercator.html +++ b/examples/spherical-mercator.html @@ -12,7 +12,10 @@