X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/dcbc807526b5eb456e33e22d794374ae7ff3723b..7f1ce59f32b83c6053311c6e55e7b3d9b9ca18db:/public/javascripts/map.js diff --git a/public/javascripts/map.js b/public/javascripts/map.js index ab15198ab..fd45d9304 100644 --- a/public/javascripts/map.js +++ b/public/javascripts/map.js @@ -32,18 +32,21 @@ function createMap(divName, options) { }); var mapnik = new OpenLayers.Layer.OSM.Mapnik(i18n("javascripts.map.base.mapnik"), { + keyid: "mapnik", displayOutsideMaxExtent: true, wrapDateLine: true }); map.addLayer(mapnik); var osmarender = new OpenLayers.Layer.OSM.Osmarender(i18n("javascripts.map.base.osmarender"), { + keyid: "osmarender", displayOutsideMaxExtent: true, wrapDateLine: true }); map.addLayer(osmarender); var cyclemap = new OpenLayers.Layer.OSM.CycleMap(i18n("javascripts.map.base.cycle_map"), { + keyid: "cyclemap", displayOutsideMaxExtent: true, wrapDateLine: true });