mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Set weather position and pressure at MSL in Weather Status line
This commit is contained in:
committed by
Mat Sutcliffe
parent
5c84cff6e4
commit
66f0a27647
@@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user