]> git.openstreetmap.org Git - rails.git/blobdiff - public/javascripts/map.js
Add the cycle map to the main site.
[rails.git] / public / javascripts / map.js
index db5b8561638afd45ba4fa403c881b11196ddcf9f..e1baba50efe76ad4328ef1a55f32346479c580e3 100644 (file)
@@ -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