Commit 9ff40d6a authored by Don Gagne's avatar Don Gagne

Merge pull request #2707 from pritamghanghas/map_center_fix

Fixed map centering buttons in flight view and flight editor.
parents 37f41643 7b2f3706
......@@ -233,8 +233,7 @@ Item {
onClicked: {
_dropButtonsExclusiveGroup.current = null
_flightMap.latitude = activeVehicle.latitude
_flightMap.longitude = activeVehicle.longitude
_flightMap.center = activeVehicle.coordinate
}
}
}
......
......@@ -502,8 +502,7 @@ QGCView {
onClicked: {
centerMapButton.hideDropDown()
editorMap.latitude = activeVehicle.latitude
editorMap.longitude = activeVehicle.longitude
editorMap.center = activeVehicle.coordinate
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment