-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
33 lines (28 loc) · 1.25 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- Include the CesiumJS JavaScript and CSS files -->
<script src="https://cesium.com/downloads/cesiumjs/releases/1.114/Build/Cesium/Cesium.js"></script>
<link href="https://cesium.com/downloads/cesiumjs/releases/1.114/Build/Cesium/Widgets/widgets.css" rel="stylesheet">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
<link rel="stylesheet" href="resources/main.css">
</head>
<body class="cesium-loading">
<div id="loadingOverlay"><h1>Loading...</h1></div>
<div id="hidden"><input type="file" id="fileupload" accept=".gpx" /></div>
<div id="buttons">
<button id="filebutton" class="cesium-button cesium-toolbar-button"><label for="fileupload"><span
class="material-symbols-outlined">folder</span></label></button>
</div>
<dialog>
<p>Download the GPX data from <a href="#" id="gpxLink" target="_blank">link</a> and drag and drop it into the window or use the file upload.</p>
<form method="dialog">
<button>OK</button>
</form>
</dialog>
<div id="cesiumContainer" class="fullSize"></div>
<script type="module" src="resources/main.js"></script>
</body>
</html>