/usr/share/routino/www/mapprops.js is in routino-www 3.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | ////////////////////////////////////////////////////////////////////////////////
/////////////////////////// Routino map properties /////////////////////////////
////////////////////////////////////////////////////////////////////////////////
var mapprops={ // contains all properties for the map to be displayed.
// EDIT THIS below to change the map library (either 'openlayers' or '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: -180.0, // Minimum longitude (degrees)
eastedge: 180.0, // Maximum longitude (degrees)
southedge: -80.0, // Minimum latitude (degrees)
northedge: 80.0, // Maximum latitude (degrees)
zoomout: 2, // Minimum zoom
zoomin: 16, // Maximum zoom
// EDIT THIS above to change the visible map limits
// EDIT THIS below to change the map URL(s) and copyright notices
mapdata: [
{
label: "OpenStreetMap",
tiles: {
url: "http://${s}.tile.openstreetmap.org/${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"
}
},
{
label: "MapQuest",
tiles: {
url: "http://otile${s}.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.jpg",
subdomains: ["1","2","3","4"]
},
attribution: {
data_url: "http://www.openstreetmap.org/copyright",
data_text: "© OpenStreetMap contributors",
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"
}
}
],
// EDIT THIS above to change the map URL(s) and copyright notices
// EDIT THIS below to change the map source data editing URL (or leave blank for no link)
editurl: "http://www.openstreetmap.org/edit",
// EDIT THIS above to change the map source data editing URL (or leave blank for no link)
// EDIT THIS below to change the map source data browsing URL (or leave blank for no link)
browseurl: "http://www.openstreetmap.org/browse",
// EDIT THIS above to change the map source data browsing URL (or leave blank for no link)
// EDIT THIS below to change the maximum number of markers to include in the HTML
maxmarkers: 9
// EDIT THIS above to change the maximum number of markers to include in the HTML
}; // end of map properties
|