satellite: Use TLE to dynamically calculate and display the position and trajectory of multiple satellites in real time

The purpose of this example is to introduce and demonstrate how to use two lines of root numbers to dynamically calculate and display the positions and trajectories of multiple satellites in the vue+satellite project. Update the position and angle of the satellite every second, and load a trajectory from the current time to a fixed time (such as 720 minutes later).

Directly copy the following vue+openlayers source sample code, operate in 2 minutes to achieve the effect

example effect

add dependencies

install dayjs

npm install dayjs

configuration method

1) View the basic settings: https://xiaozhuanlan.com/topic/5180746392
2) Paste the above source code into src/views/Home.vue

Guess you like

Origin blog.csdn.net/cuclife/article/details/131391101