Added tooltips and changed units for radar site threshold.

This commit is contained in:
AdenKoperczak 2024-12-13 10:24:53 -05:00
parent 9174a4de91
commit c0b7f85278
3 changed files with 41 additions and 3 deletions

View file

@ -63,7 +63,7 @@ void RadarSiteLayer::Render(
p->hoverText_.clear();
auto mapDistance = util::maplibre::GetMapDistance(params);
auto threshold = units::length::nautical_miles<double>(
auto threshold = units::length::kilometers<double>(
settings::GeneralSettings::Instance().radar_site_threshold().GetValue());
if (!(threshold.value() == 0.0 || mapDistance <= threshold ||