-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (33 loc) · 1.08 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Danula testing ground</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A testing ground for the Danula world map">
<meta name="author" content="StrawberryMaster, AsrielTheLatvian">
<link rel="icon" href="media/favicon.ico">
<link rel="stylesheet" href="styles/styles.css">
</head>
<body>
<header>
<h1>Danula testing ground</h1>
</header>
<div class="map-container">
<img src="media/realcolorentireworld.png" class="map" usemap="#map">
<div class="coordinates" id="hover-coordinates"></div>
</div>
<footer>
<p>Created by <a href="https://github.com/StrawberryMaster">StrawberryMaster</a>. "Danula" and all related content
is owned by AsrielTheLatvian.</p>
</footer>
<script src="scripts/nermal.js"></script>
<script>
const tracker = new MapCoordinatesTracker('.map', 'hover-coordinates', {
precision: 2,
useThrottle: true,
throttleInterval: 16 // ~60fps
});
</script>
</body>
</html>