Remove redundant parameters from embedded map constructor
authorTom Hughes <tom@compton.nu>
Thu, 4 Oct 2012 16:55:53 +0000 (17:55 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 4 Oct 2012 16:55:53 +0000 (17:55 +0100)
public/export/embed.html

index c638725..9978936 100644 (file)
                   new OpenLayers.Control.Attribution(),
                   new OpenLayers.Control.Navigation()
               ],
-              maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,
-                                               20037508.34,20037508.34),
               numZoomLevels: 20,
-              maxResolution: 156543.0339,
-              displayProjection: new OpenLayers.Projection("EPSG:4326"),
-              units: 'm',
-              projection: new OpenLayers.Projection("EPSG:900913")
+              displayProjection: new OpenLayers.Projection("EPSG:4326")
             });
 
             var attribution = '© <a target="_parent" href="http://www.openstreetmap.org">OpenStreetMap</a> and contributors, under an <a target="_parent" href="http://www.openstreetmap.org/copyright">open license</a>';