]> git.openstreetmap.org Git - rails.git/commitdiff
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 c638725ad9019c5464e21e2ae9566b068c4e80ad..997893693297f7449e7990ddcadf08bd390eb528 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>';