koansys / isat

Satellite Orbit Tracker: implement most-current SGP models and algorithms in JavaScript, then use to visualize hundreds of satellites with any browser
BSD 3-Clause "New" or "Revised" License
96 stars 38 forks source link

Permalink URLs select satellite and group, allow bookmarking, linking from Science #143

Open shentonfreude opened 10 years ago

shentonfreude commented 10 years ago

We should be able to allow "permalink" URLs which select a group of satellites to show, and a specific satellite to highlight. We can do this operation now through the UI but have no way to save it, to share a link to (for example) the ISS or LANDSAT-8.

This is something people have wanted, and permits bookmarking.

It would also allow Science.nasa.gov to have links from our Missions back into iSat: see where POLAR is now! This would be a great sales tool for Ruth I think.

We might want to make it general enough that we could encode other view information that the user can currently select through the UI like: tile provider, zoom level, projection, present viewpoint. Perhaps something like (for highlighting LANDSAT-8, looking at US Capitol from 5000Km up):

http://science.nasa.gov/iSAt/group=smd/satellite=29085/map=bing/altitude=5000/projection=3d/viewpoint=38.88931,-77.009003

Any omitted field will be ignored. Not sure how to handle missing Group and still find the satellite but see another ticket on reading all TLEs into memory at start.

We'll have to make any changes made by the UI update the URL bar so that it can be bookmarked.

joshfinnie commented 10 years ago

We will also want to change the title to signify URL change.