]> git.openstreetmap.org Git - rails.git/blobdiff - public/export/embed.html
Remove redundant parameters from embedded map constructor
[rails.git] / 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>';