Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Contents of /branches/destination-access/web/www/routino/mapprops.js
Parent Directory
|
Revision Log
Revision 2009 -
(show annotations)
(download)
(as text)
Sun Sep 1 14:51:11 2019 UTC (5 years, 6 months ago) by amb
File MIME type: application/javascript
File size: 2454 byte(s)
Sun Sep 1 14:51:11 2019 UTC (5 years, 6 months ago) by amb
File MIME type: application/javascript
File size: 2454 byte(s)
Merge from trunk (add new openlayers version).
1 | //////////////////////////////////////////////////////////////////////////////// |
2 | /////////////////////////// Routino map properties ///////////////////////////// |
3 | //////////////////////////////////////////////////////////////////////////////// |
4 | |
5 | var mapprops={ // contains all properties for the map to be displayed. |
6 | |
7 | // EDIT THIS below to change the map library (either 'openlayers2', 'openlayers' or 'leaflet'). |
8 | |
9 | //library: "openlayers2", |
10 | //library: "openlayers", |
11 | library: "leaflet", |
12 | |
13 | // EDIT THIS above to change the map library (either 'openlayers2', 'openlayers' or 'leaflet'). |
14 | |
15 | |
16 | // EDIT THIS below to change the visible map limits |
17 | |
18 | westedge: -11.0, // Minimum longitude (degrees) |
19 | eastedge: 2.0, // Maximum longitude (degrees) |
20 | |
21 | southedge: 49.5, // Minimum latitude (degrees) |
22 | northedge: 61.0, // Maximum latitude (degrees) |
23 | |
24 | zoomout: 4, // Minimum zoom |
25 | zoomin: 15, // Maximum zoom |
26 | |
27 | // EDIT THIS above to change the visible map limits |
28 | |
29 | |
30 | // EDIT THIS below to change the map URL(s) and copyright notices |
31 | |
32 | mapdata: [ |
33 | { |
34 | label: "OpenStreetMap", |
35 | tiles: { |
36 | url: "http://${s}.tile.openstreetmap.org/${z}/${x}/${y}.png", |
37 | subdomains: ["a","b","c"] |
38 | }, |
39 | attribution: { |
40 | data_url: "http://www.openstreetmap.org/copyright", |
41 | data_text: "© OpenStreetMap contributors", |
42 | tile_url: "http://www.openstreetmap.org/copyright", |
43 | tile_text: "© OpenStreetMap" |
44 | } |
45 | } |
46 | ], |
47 | |
48 | // EDIT THIS above to change the map URL(s) and copyright notices |
49 | |
50 | |
51 | // EDIT THIS below to change the map source data editing URL (or leave blank for no link) |
52 | |
53 | editurl: "http://www.openstreetmap.org/edit", |
54 | |
55 | // EDIT THIS above to change the map source data editing URL (or leave blank for no link) |
56 | |
57 | |
58 | // EDIT THIS below to change the map source data browsing URL (or leave blank for no link) |
59 | |
60 | browseurl: "http://www.openstreetmap.org/browse", |
61 | |
62 | // EDIT THIS above to change the map source data browsing URL (or leave blank for no link) |
63 | |
64 | |
65 | // EDIT THIS below to change the maximum number of markers to include in the HTML |
66 | |
67 | maxmarkers: 9 |
68 | |
69 | // EDIT THIS above to change the maximum number of markers to include in the HTML |
70 | |
71 | }; // end of map properties |