Routino SVN Repository Browser

Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino

ViewVC logotype

Contents of /trunk/web/www/routino/mapprops.js

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1012 - (show annotations) (download) (as text)
Mon Jul 9 15:59:34 2012 UTC (12 years, 8 months ago) by amb
File MIME type: application/javascript
File size: 1409 byte(s)
Move the maxmarkers variable from router.js to mapprops.js.

1 ////////////////////////////////////////////////////////////////////////////////
2 /////////////////////////// Routino map properties /////////////////////////////
3 ////////////////////////////////////////////////////////////////////////////////
4
5 var mapprops={ // contains all properties for the map to be displayed.
6
7 // Default configuration:
8 // UK coordinate range
9 // West -11.0, South 49.5, East 2.0, North 61.0
10 // Zoom level 4 to 15
11
12 // EDIT THIS below to change the visible map limits
13
14 westedge: -11.0, // Minimum longitude (degrees)
15 eastedge: 2.0, // Maximum longitude (degrees)
16
17 southedge: 49.5, // Minimum latitude (degrees)
18 northedge: 61.0, // Maximum latitude (degrees)
19
20 zoomout: 4, // Minimum zoom
21 zoomin: 15, // Maximum zoom
22
23 // EDIT THIS above to change the visible map limits
24
25
26 // EDIT THIS below to change the map URL(s)
27
28 mapdata: [
29 {
30 label: "OSM map",
31 baseurl: "http://tile.openstreetmap.org/",
32 errorurl: "http://openstreetmap.org/openlayers/img/404.png"
33 }
34 ],
35
36 // EDIT THIS above to change the map URL(s)
37
38
39 // EDIT THIS below to change the maximum number of markers
40
41 // The number of waypoints to include in the HTML
42 maxmarkers: 9
43
44 // EDIT THIS above to change the maximum number of markers
45
46 }; // end of map properties