Open tomaszmrugalski opened 3 years ago
On a related note, I think the CZML exporter is slightly wrong. I would assume that AOS and LOS points be equidistant to the ground station, but the example of observation 1276 shows otherwise.
@fivitti, compared to the old code we used long time ago, Cesium made substantial steps forward. There are official typescript bindings. I've split some of the code into small utility files that are easy to reuse or remove.
Okay, this needs to be redone.
The goal of this PR is to address the last open item in #9 - to use Cesium to visualize passes on 3D globe.
Two screenshots how this code looks like:
The code is now ready for review. Here's a couple comments:
/czml/obs/1234
URL and will return CZML file.?obs_id=1234
. This is useful for redirecting from other pages. Second, you can type the observation number and click load. This is useful if you are already on the page, but want to look at different observation.For the time being it's not possible to show multiple observations at the same time. It may be in the future, but the CZML exporter will have to be tweaked slightly. The problem right now is it's always having the document packet, which determines the start and end of the simulation period.