-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (65 loc) · 2.2 KB
/
index.html
File metadata and controls
74 lines (65 loc) · 2.2 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>USGS 3DEP LiDAR - Basic Example</title>
<link rel="stylesheet" href="https://unpkg.com/maplibre-gl@5.0.0/dist/maplibre-gl.css">
<link rel="stylesheet" href="https://unpkg.com/@geoman-io/maplibre-geoman-free@0.6.1/dist/maplibre-geoman.css">
<link rel="stylesheet" href="https://unpkg.com/maplibre-gl-geo-editor@0.3.2/dist/maplibre-gl-geo-editor.css">
<link rel="stylesheet" href="https://unpkg.com/maplibre-gl-lidar@0.3.1/dist/maplibre-gl-lidar.css">
<style>
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
#map {
width: 100vw;
height: 100vh;
}
.info-panel {
position: absolute;
bottom: 20px;
left: 20px;
background: white;
padding: 12px 16px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
font-size: 13px;
max-width: 300px;
z-index: 1;
}
.info-panel h3 {
margin: 0 0 8px 0;
font-size: 14px;
}
.info-panel p {
margin: 0;
color: #666;
line-height: 1.4;
}
.info-panel a {
color: #0066cc;
text-decoration: none;
}
.info-panel a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div id="map"></div>
<div class="info-panel">
<h3>USGS 3DEP LiDAR Viewer</h3>
<p>Click the LiDAR control button in the top-right corner to search for and visualize USGS 3DEP LiDAR data. Choose
between COPC format from <a href="https://planetarycomputer.microsoft.com/dataset/3dep-lidar-copc"
target="_blank">Planetary Computer</a> or EPT format from <a href="https://registry.opendata.aws/usgs-lidar/"
target="_blank">AWS Open Data</a>. Source code for this project is available on <a
href="https://github.com/opengeos/maplibre-gl-usgs-lidar" target="_blank">GitHub</a>. <br>Contact <a
href="https://github.com/giswqs" target="_blank">Qiusheng
Wu</a> for any questions.</p>
</div>
<script type="module" src="./examples/basic/main.ts"></script>
</body>
</html>