Description: Add additional layer for OpenCycleMap Author: Uwe Steinmann Forwarded: not-needed --- a/web/www/routino/mapprops.js +++ b/web/www/routino/mapprops.js @@ -17,14 +17,14 @@ var mapprops={ // contains all propertie // 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 @@ -39,6 +39,19 @@ var mapprops={ // contains all propertie 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" + } + }, + { + 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",