Set weather position and pressure at MSL in Weather Status line

This commit is contained in:
Roland Rossgotterer
2019-02-14 09:14:26 +01:00
committed by Mat Sutcliffe
parent 5c84cff6e4
commit 66f0a27647
3 changed files with 11 additions and 1 deletions

View File

@@ -139,6 +139,7 @@ namespace BlackCore
{
const auto nearestGridPoint = fetchedWeatherGrid.findClosest(1, gridPoint.getPosition()).frontOrDefault();
gridPoint.copyWeatherDataFrom(nearestGridPoint);
gridPoint.setPosition(nearestGridPoint.getPosition());
}
if (weatherRequest.callback) { weatherRequest.callback(requestedWeatherGrid); }