Is your feature request related to a problem? Please describe.
After musings in #796 (comment) I'd like to know how far my current location is from the 2 stored locations.
Describe the solution you'd like
Append the range (in km and/or degrees) to the location line label
using one (or even both) of
|
//! Compute great-circle distance from other location. |
|
//! arguments given in decimal degrees |
|
float distanceDegrees(const float otherLong, const float otherLat) const {return distanceDegrees(longitude, latitude, otherLong, otherLat);} |
|
|
|
//! Compute great-circle distance from other location. |
|
//! arguments given in decimal degrees |
|
double distanceKm(const double otherLong, const double otherLat) const; |
|
|
Is your feature request related to a problem? Please describe.
After musings in #796 (comment) I'd like to know how far my current location is from the 2 stored locations.
Describe the solution you'd like
Append the range (in km and/or degrees) to the location line label
using one (or even both) of
stellarium/src/core/StelLocation.hpp
Lines 61 to 68 in a7d994f