Skip to content

Commit

Permalink
feat: added new celestrak source
Browse files Browse the repository at this point in the history
  • Loading branch information
PolGuixe committed Apr 16, 2023
1 parent 4ca945e commit 20fb9bf
Showing 1 changed file with 20 additions and 13 deletions.
33 changes: 20 additions & 13 deletions App.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,19 +120,26 @@ class App extends Component {
addCelestrakSets = () => {
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/weather.txt'), 0x00ffff)
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/cosmos-2251-debris.txt'), 0xff0090)
this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/active.txt'), 0xffffff)
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/science.txt'), 0xffff00)
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/stations.txt'), 0xffff00)
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/iridium-NEXT.txt'), 0x00ff00)
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/gps-ops.txt'), 0x00ff00)
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/ses.txt'), 0xffffff)
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/starlink.txt'), 0x0000ff)
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/gps-ops.txt'), 0xffffff, { orbitMinutes: 0, satelliteSize: 200 })
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/glo-ops.txt'), 0xff0000, { orbitMinutes: 500, satelliteSize: 500 })
.then(stations => {
this.setState({stations});
this.processQuery(stations);
});
// this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/active.txt'), 0xffffff)
this.engine
.loadLteFileStations(
getCorsFreeUrl(
"https://celestrak.org/NORAD/elements/supplemental/sup-gp.php?FILE=transporter-7&FORMAT=tle"
),
0xffffff
)
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/science.txt'), 0xffff00)
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/stations.txt'), 0xffff00)
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/iridium-NEXT.txt'), 0x00ff00)
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/gps-ops.txt'), 0x00ff00)
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/ses.txt'), 0xffffff)
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/starlink.txt'), 0x0000ff)
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/gps-ops.txt'), 0xffffff, { orbitMinutes: 0, satelliteSize: 200 })
//this.engine.loadLteFileStations(getCorsFreeUrl('https://celestrak.org/NORAD/elements/glo-ops.txt'), 0xff0000, { orbitMinutes: 500, satelliteSize: 500 })
.then((stations) => {
this.setState({ stations });
this.processQuery(stations);
});

}

Expand Down

0 comments on commit 20fb9bf

Please sign in to comment.