WorldWideTelescope / wwt-web-client

The WorldWide Telescope web client lets you explore the universe in your browser.
https://worldwidetelescope.org/webclient/
MIT License
105 stars 35 forks source link

Web client does not initially read in location information from a tour #243

Open patudom opened 5 years ago

patudom commented 5 years ago

We are planning to create tours that use the "view from this location" feature. The goal is to help students understand how our view of stars in the sky changes throughout the year.

Example of problem: If we change the location to, say, Boston, check "view from this location," turn on the alt/az grid in Sky view, and make a 1 slide tour, when we open that tour file in the web client, it does not recognize initially that we are supposed to be in Boston. It seems to display the tour view from whatever location is the default of the user's web client. If you do anything to edit the tour while it is open in the web client, then the web client will correctly put you in Boston. It should display the correct location as soon as the tour file loads.

Also, once the tour file is closed, it leaves you in Boston. I think a more sensible behavior would be to put you back at whatever was the viewer's location prior to their opening of the tour file.