X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/935656bfbe615c92d2931215e3e4944d0d2f2738..de5e96585b8bd316f717247d355b57c50d7ccb1d:/public/javascripts/map.js diff --git a/public/javascripts/map.js b/public/javascripts/map.js index db5b85616..e1baba50e 100644 --- a/public/javascripts/map.js +++ b/public/javascripts/map.js @@ -34,6 +34,12 @@ function createMap(divName) { }); map.addLayer(osmarender); + var cyclemap = new OpenLayers.Layer.OSM.CycleMap("Cycle Map", { + displayOutsideMaxExtent: true, + wrapDateLine: true + }); + map.addLayer(cyclemap); + var maplint = new OpenLayers.Layer.OSM.Maplint("Maplint", { displayOutsideMaxExtent: true, wrapDateLine: true