Skip to content

Commit

Permalink
Update MFM.qml
Browse files Browse the repository at this point in the history
  • Loading branch information
kebekus committed Feb 17, 2025
1 parent 75a0242 commit ad2893e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/qml/items/MFM.qml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,24 @@ Item {
}


//
// Connections
//

Connections {
target: Global

function onCurrentVACChanged()
{
if (!Global.currentVAC.isValid)
return;
flightMap.followGPS = false
flightMap.alignCoordinateToPoint(Global.currentVAC.center, flightMap.centerPoint)
flightMap.zoomLevel = 11
}
}


// ADDITINAL MAP ITEMS
MapCircle { // Circle for nondirectional traffic warning
center: PositionProvider.lastValidCoordinate
Expand Down

0 comments on commit ad2893e

Please sign in to comment.