Description: Add additional layer for OpenCycleMap
Author: Uwe Steinmann <steinm@debian.org>
Forwarded: not-needed

--- a/web/www/routino/mapprops.js
+++ b/web/www/routino/mapprops.js
@@ -6,22 +6,22 @@ var mapprops={ // contains all propertie
 
  // EDIT THIS below to change the map library (either 'openlayers' or 'leaflet').
 
-  library: "openlayers",
-  //library: "leaflet",
+  //library: "openlayers",
+  library: "leaflet",
 
  // EDIT THIS above to change the map library (either 'openlayers' or 'leaflet').
 
 
  // EDIT THIS below to change the visible map limits
 
-  westedge:  -11.0,          // Minimum longitude (degrees)
-  eastedge:    2.0,          // Maximum longitude (degrees)
+  westedge: -180.0,          // Minimum longitude (degrees)
+  eastedge:  180.0,          // Maximum longitude (degrees)
 
-  southedge:  49.5,          // Minimum latitude (degrees)
-  northedge:  61.0,          // Maximum latitude (degrees)
+  southedge: -80.0,          // Minimum latitude (degrees)
+  northedge:  80.0,          // Maximum latitude (degrees)
 
-  zoomout:       4,          // Minimum zoom
-  zoomin:       15,          // Maximum zoom
+  zoomout:       2,          // Minimum zoom
+  zoomin:       16,          // Maximum zoom
 
  // EDIT THIS above to change the visible map limits
 
@@ -54,6 +54,19 @@ var mapprops={ // contains all propertie
                           tile_url:  "http://www.mapquest.com/",
                           tile_text: "© MapQuest <img src=\"http://developer.mapquest.com/content/osm/mq_logo.png\">"
                          }
+           },
+           {
+            label: "OSM CycleMap",
+            tiles: {
+           	        url: "http://${s}.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png",
+                    subdomains: ["a","b","c"]
+                   },
+            attribution: {
+                          data_url:  "http://www.openstreetmap.org/copyright",
+                          data_text: "© OpenStreetMap contributors",
+                          tile_url:  "http://www.openstreetmap.org/copyright",
+                          tile_text: "© OpenStreetMap"
+                         }
            }
            ],
 
