/usr/share/routino/www/mapprops.js is in routino-www 2.4.1-1.
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 | ////////////////////////////////////////////////////////////////////////////////
/////////////////////////// Routino map properties /////////////////////////////
////////////////////////////////////////////////////////////////////////////////
var mapprops={ // contains all properties for the map to be displayed.
// Default configuration:
// UK coordinate range
// West -11.0, South 49.5, East 2.0, North 61.0
// Zoom level 4 to 15
// 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)
mapdata: [
{
label: "OSM map",
baseurl: "http://tile.openstreetmap.org/",
errorurl: "http://openstreetmap.org/openlayers/img/404.png"
},
{
label: "OSM CycleMap",
baseurl: "http://a.tile.opencyclemap.org/cycle/",
errorurl: "http://openstreetmap.org/openlayers/img/404.png"
}
],
// EDIT THIS above to change the map URL(s)
// EDIT THIS below to change the maximum number of markers
// The number of waypoints to include in the HTML
maxmarkers: 9
// EDIT THIS above to change the maximum number of markers
}; // end of map properties
|