-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinteractive map.html
More file actions
55 lines (54 loc) · 2.16 KB
/
interactive map.html
File metadata and controls
55 lines (54 loc) · 2.16 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Map of Grantera</title>
<link rel="stylesheet" href="style.css">
<script src="map.js"></script>
<script src="mapdata.js"></script>
</head>
<body>
<div id="canvas">
<div id="map-centerer" tabindex="-1">
<div id="map-scaler">
<div id="map">
<div class="context-menu">
<span>Start new path</span>
<span>Add stop</span>
<span>Clear measurements</span>
</div>
<div id="measurements">
</div>
</div>
</div>
</div>
</div>
<div class="controls">
<button class="zoom" onclick="changeZoom(0.5, false)">+</button>
<button class="zoom" onclick="changeZoom(-0.5, false)">-</button>
<div style="position: relative; width: 3.5em; height: 3.5em;">
<button class="direction" onclick="panView(0, -100)" style="background-image: url('arrowup.png'); left: 1rem; top: 0"></button>
<button class="direction" onclick="panView(-100, 0)" style="background-image: url('arrowleft.png'); left: 0; top: 1rem"></button>
<button class="direction" onclick="panView(100, 0)" style="background-image: url('arrowright.png'); left: 2rem; top: 1rem"></button>
<button class="direction" onclick="panView(0, 100)" style="background-image: url('arrowdown.png'); left: 1rem; top: 2rem"></button>
</div>
</div>
<div class="top-text">
<div>
<span>Country</span>
</div>
</div>
<span id="datahint">--</span>
<div class="sidebar">
<div class="sidebar-resize"></div>
<div class="sidebar-content">
<iframe src="wiki test.html"></iframe>
<div class="not-found">
<h1>Page Name</h1>
<p>Sadly, there is no page for this place yet. Maybe it's unimportant, or maybe I haven't thought about the lore yet.</p>
</div>
</div>
</div>
</body>
</html>