-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
26 lines (26 loc) · 833 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Geolocation Request Tutorial</title>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.8.0/dist/leaflet.css"/>
<script src="https://unpkg.com/leaflet@1.8.0/dist/leaflet.js"></script>
<style>
#map {
height: 80vh;
display:none;
}
#result {
font-size:1.5rem; font-weight: bold; text-align:center; margin-bottom:.5rem; display:none;
}
</style>
</head>
<body>
<button type="button" id="showPosition">Show Position</button>
<div id="result"></div>
<div id="map"></div>
<script src="/js/init.js"></script>
</body>
</html>