globe.gl 2.25.2 → 2.25.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
|
|
29
29
|
<script>
|
|
30
30
|
const EARTH_RADIUS_KM = 6371; // km
|
|
31
|
-
const SAT_SIZE =
|
|
31
|
+
const SAT_SIZE = 100; // km
|
|
32
32
|
const TIME_STEP = 3 * 1000; // per frame
|
|
33
33
|
|
|
34
34
|
const timeLogger = document.getElementById('time-log');
|
|
@@ -57,7 +57,8 @@
|
|
|
57
57
|
name: name.trim().replace(/^0 /, '')
|
|
58
58
|
}))
|
|
59
59
|
// exclude those that can't be propagated
|
|
60
|
-
.filter(d => !!satellite.propagate(d.satrec, new Date()).position)
|
|
60
|
+
.filter(d => !!satellite.propagate(d.satrec, new Date()).position)
|
|
61
|
+
.slice(0, 2000);
|
|
61
62
|
|
|
62
63
|
// time ticker
|
|
63
64
|
let time = new Date();
|