-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmapprops.js
71 lines (44 loc) · 2.4 KB
/
mapprops.js
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
////////////////////////////////////////////////////////////////////////////////
/////////////////////////// Routino map properties /////////////////////////////
////////////////////////////////////////////////////////////////////////////////
var mapprops={ // contains all properties for the map to be displayed.
// EDIT THIS below to change the map library (either 'openlayers2', 'openlayers' or 'leaflet').
//library: "openlayers2",
//library: "openlayers",
library: "leaflet",
// EDIT THIS above to change the map library (either 'openlayers2', 'openlayers' or 'leaflet').
// EDIT THIS below to change the visible map limits
westedge: ${ROUTINO_LONGITUDE_MIN}, // Minimum longitude (degrees)
eastedge: ${ROUTINO_LONGITUDE_MAX}, // Maximum longitude (degrees)
southedge: ${ROUTINO_LATITUDE_MIN}, // Minimum latitude (degrees)
northedge: ${ROUTINO_LATITUDE_MAX}, // Maximum latitude (degrees)
zoomout: ${ROUTINO_ZOOM_MIN}, // Minimum zoom
zoomin: ${ROUTINO_ZOOM_MAX}, // 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: "${ROUTINO_TILE_URL_FIXED}",
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: "${ROUTINO_EDIT_URL}",
// 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: "${ROUTINO_BROWSE_URL}",
// 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