Return to default location

Asked by Khalid AlAjaji

Is there a simpler way to return to the default location other than searching for it and selecting it again?

Question information

Language:
English Edit question
Status:
Solved
For:
Stellarium Edit question
Assignee:
No assignee Edit question
Solved by:
Alexander Wolf
Solved:
Last query:
Last reply:
Revision history for this message
Alexander Wolf (alexwolf) said :
#1

Do you mean default viewpoint or geographical location?

Revision history for this message
Khalid AlAjaji (kajaji) said :
#2

I mean geographical location. Suppose I select another city, then after I'm done, to go back to my default location I have to go to the location window, search for my default location and select it again, Or restart stellarium.

So, my question is there a direct way to go back to my default city?

Revision history for this message
Best Alexander Wolf (alexwolf) said :
#3

No, this feature not implemented. You need create a feature request for it.

Revision history for this message
Alexander Wolf (alexwolf) said :
#4

Also you can use workaround for this feature - in begin of script you can run getObserverLocation() and store results into some variable. In end of script you can run setObserverLocation() with data from stored variable.

Revision history for this message
Khalid AlAjaji (kajaji) said :
#5

Thanks Alexander Wolf, that solved my question.