Spaces:
Running
Running
Update index.html
Browse files- index.html +3 -3
index.html
CHANGED
|
@@ -5,6 +5,7 @@
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>Earth Explorer Adventure</title>
|
| 7 |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
|
|
|
|
| 8 |
<script src="https://cesium.com/downloads/cesiumjs/releases/1.128/Build/Cesium/Cesium.js"></script>
|
| 9 |
<link href="https://cesium.com/downloads/cesiumjs/releases/1.128/Build/Cesium/Widgets/widgets.css" rel="stylesheet">
|
| 10 |
<style>
|
|
@@ -324,8 +325,7 @@
|
|
| 324 |
async function initializeCesium() {
|
| 325 |
try {
|
| 326 |
// INSERT YOUR CESIUM ION API KEY HERE
|
| 327 |
-
Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.
|
| 328 |
-
|
| 329 |
// Only keep Bing for satellite view (no OSM)
|
| 330 |
window.currentImagery = 'default';
|
| 331 |
// Only use Cesium Ion Imagery Provider (assetId: 3) as the sole imagery layer
|
|
@@ -558,4 +558,4 @@
|
|
| 558 |
window.onload = initializeCesium;
|
| 559 |
</script>
|
| 560 |
</body>
|
| 561 |
-
</html>
|
|
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>Earth Explorer Adventure</title>
|
| 7 |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
|
| 8 |
+
<script src="env.js"></script>
|
| 9 |
<script src="https://cesium.com/downloads/cesiumjs/releases/1.128/Build/Cesium/Cesium.js"></script>
|
| 10 |
<link href="https://cesium.com/downloads/cesiumjs/releases/1.128/Build/Cesium/Widgets/widgets.css" rel="stylesheet">
|
| 11 |
<style>
|
|
|
|
| 325 |
async function initializeCesium() {
|
| 326 |
try {
|
| 327 |
// INSERT YOUR CESIUM ION API KEY HERE
|
| 328 |
+
Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI3NGVhMWEzOC1jNmUyLTQxYzUtYmZlYS0xY2IyOGE0Mjk1MzMiLCJpZCI6Mjk0NjEzLCJpYXQiOjE3NDQ3OTk2MTB9.8BBF1u-znrldQsC74qgPbMSJpN5cc5wcaUP48oLmA20';
|
|
|
|
| 329 |
// Only keep Bing for satellite view (no OSM)
|
| 330 |
window.currentImagery = 'default';
|
| 331 |
// Only use Cesium Ion Imagery Provider (assetId: 3) as the sole imagery layer
|
|
|
|
| 558 |
window.onload = initializeCesium;
|
| 559 |
</script>
|
| 560 |
</body>
|
| 561 |
+
</html>
|