-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (40 loc) · 1.22 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
42
43
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
/>
<link rel="stylesheet" href="styles.css" />
<title>GC Mapper</title>
</head>
<body>
<header>
<h1>GC Mapper</h1>
</header>
<section id="input">
<label>Coords:</label>
<input id="coordInput" placeholder="N 48° 23.a5b' E 9° 59.0c9'" />
<button onclick="show()">Map!</button>
<div class="info-icon">
ℹ️
<div class="hover-text">
!! Currently no duplicate variables allowed and only a max. of 3 !!<br />
<br />
Format: N XXX° XX.XXX' E YYY° YY.YYY'<br />
(With or without ° and ')<br />
Example: N 48° 23.916' E 9° 59.535'<br />
Example with variables: N 48° 23.91a' E 10° 00.b0c'<br />
Supported variables: 'a' to 'z'
</div>
</div>
</section>
<section>
<div id="map"></div>
</section>
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
<script src="script.js"></script>
</body>
</html>