diff --git a/examples/spherical-mercator.html b/examples/spherical-mercator.html index fd6a3250da..88e207f27a 100644 --- a/examples/spherical-mercator.html +++ b/examples/spherical-mercator.html @@ -41,12 +41,12 @@ var map = new OpenLayers.Map({ div: "map", - projection: new OpenLayers.Projection("EPSG:900913"), - displayProjection: new OpenLayers.Projection("EPSG:4326"), + projection: "EPSG:900913", + displayProjection: "EPSG:4326", units: "m", numZoomLevels: 18, maxResolution: 156543.0339, - maxExtent: new OpenLayers.Bounds(-20037508, -20037508, 20037508, 20037508), + maxExtent: [-20037508, -20037508, 20037508, 20037508], }); // create Google Mercator layers