-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlocations.html
70 lines (62 loc) · 2.42 KB
/
locations.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
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>The Gates of Vienna - Locations</title>
<link rel="stylesheet" href="type.css">
<link rel="stylesheet" href="layout.css">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A==" crossorigin=""/>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js" integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA==" crossorigin=""></script>
<style>
#map {
width: 100%;
height: 320px;
}
</style>
</head>
<body>
<div class="container">
<div class="content">
<div class="pagehead">
<a href="index.html" class="menulink">← Start</a>
</div>
<h1>Locations</h1>
<h2>Vienna</h2>
<div id="map"></div>
<p> </p>
<div class="toc">
<p><a href="loc-Vienna-ViziersTent.html">The Vizier's Tent</a></p>
<p><a href="loc-Vienna-outsideSchonbrunn.html">Outside of Schönbrunn</a></p>
<p><a href="loc-Vienna-Perchtoldsdorf.html">Perchtoldsdorf</a></p>
<p><a href="loc-Vienna-ImperialHighCommand.html">Imperial High Command</a></p>
<p><a href="loc-Vienna-FranzsHouse.html">Franz’s house</a></p>
<p><a href="loc-Vienna-LoblAndBurgBastions.html">The Lobl and Burg bastions</a></p>
<p><a href="loc-Vienna-JanissarySection.html">The Janissary Section</p>
</div>
<script>
var planes = [
["Perchtoldsdorf",48.154613, 16.260257],
["Outside of Schönbrunn",48.175454, 16.282685],
["The Vizier's Tent",48.20600000, 16.32777778],
["Imperial High Command",48.201023, 16.324771],
["The Löbl and Burg Bastions",48.213448, 16.362062],
["Franz's House",48.210580, 16.368140],
["The Janissary Section",48.205446, 16.338267],
];
var map = L.map('map', { zoomControl: false }).setView([48.175454, 16.282685], 11);
mapLink ='<a href="http://openstreetmap.org">OpenStreetMap</a>';
L.tileLayer(
'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '© ' + mapLink + ' Contributors',
maxZoom: 18,
}).addTo(map);
for (var i = 0; i < planes.length; i++) {
marker = new L.marker([planes[i][1],planes[i][2]])
.bindPopup(planes[i][0])
.addTo(map);
}
</script>
</div>
</div>
</body>
</html>