-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (49 loc) · 1.12 KB
/
index.html
File metadata and controls
56 lines (49 loc) · 1.12 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
56
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>GEBCO Bathymetry</title>
<style>
body {
margin: 0;
}
#map {
position: absolute;
inset: 0;
}
#controls {
position: absolute;
top: 10px;
right: 10px;
background: #fff;
border-radius: 6px;
padding: 8px 12px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
font: 13px/1.6 system-ui, sans-serif;
z-index: 1;
}
#controls label {
cursor: pointer;
}
</style>
</head>
<body>
<div id="map"></div>
<div id="controls">
<label>
<input type="checkbox" id="toggle-depth" checked /> Depth shading
</label><br />
<label>
<input type="checkbox" id="toggle-hillshade" /> Hillshade
</label><br />
<label>
<input type="checkbox" id="toggle-contours" checked /> Contours
</label><br />
<label>
<input type="checkbox" id="toggle-labels" checked /> Labels
</label>
</div>
<script type="module" async src="./index.js"></script>
</body>
</html>