-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmap.html
77 lines (73 loc) · 2.61 KB
/
map.html
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
<html>
<head>
<!-- jQuery -->
<script src="https://code.jquery.com/jquery.js"></script>
<!-- Mustache -->
<script src="https://rawgit.com/jonnyreeves/jquery-Mustache/master/jquery.mustache.js" type="text/javascript"></script>
<script src="https://rawgit.com/janl/mustache.js/master/mustache.js"></script>
<!-- MapBox -->
<script src='https://api.mapbox.com/mapbox.js/v2.3.0/mapbox.js'></script>
<link href='https://api.mapbox.com/mapbox.js/v2.3.0/mapbox.css' rel='stylesheet' />
<!-- MarkerCluster Plugin -->
<script src='https://api.mapbox.com/mapbox.js/plugins/leaflet-markercluster/v0.4.0/leaflet.markercluster.js'></script>
<link href='https://api.mapbox.com/mapbox.js/plugins/leaflet-markercluster/v0.4.0/MarkerCluster.css' rel='stylesheet' />
<link href='https://api.mapbox.com/mapbox.js/plugins/leaflet-markercluster/v0.4.0/MarkerCluster.Default.css' rel='stylesheet' />
<link href="main.css" rel="stylesheet" />
<script src="main.js"></script>
<script id="infowindow" type="x-tmpl-mustache">
<div class="address">
{{full_address}}
</div>
{{#event}}
<div class="event">
<b style="color:red">{{ date }}@{{ time }}</b> | <b>{{ type }}</b> <br/>
<i> {{{ desc }}} </i>
</div>
{{/event}}
{{#vokue}}
<div class="vokue">
{{#time}}
<b style="color:red">{{ time }}</b> |
{{/time}}
<i>{{{ desc }}}</i>
</div>
{{/vokue}}
<div class="info">
{{{info}}}
</div>
</script>
</head>
<body>
<div id="map" class="dark"></div>
<div id="controls">
<div class="stressfaktoren legend active">
<span>StressFaktoren</span> <img class="symbol" src="./maki/danger-18.png">
</div>
<div class="events legend">
<span>Events</span> <img class="symbol" src="./maki/star-18.png">
</div>
<div class="vokues legend">
<span>VoKues</span> <img class="symbol" src="./maki/restaurant-18.png">
</div>
<div>
<select size="1" id="today" name="day" class="inputs">
<option value="today">heute</option>
<option value="all">alle Tage</option>
<option value="">------------------------</option>
<option value="Montag">Montag</option>
<option value="Dienstag">Dienstag</option>
<option value="Mittwoch">Mittwoch</option>
<option value="Donnerstag">Donnerstag</option>
<option value="Freitag">Freitag</option>
<option value="Samstag">Samstag</option>
<option value="Sonntag">Sonntag</option>
</select>
</div>
<div>
<input id="find" class="inputs">
<div id="findings"></div>
<button id="reset_findings">X</button>
</div>
</div>
</body>
</html>