Remove redundant parameters from embedded map constructor

This commit is contained in:
Tom Hughes 2012-10-04 17:55:53 +01:00
parent 96712f1dd4
commit 5d7ddea4df

View file

@ -32,13 +32,8 @@
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>';