Skip to content

Commit

Permalink
Go back to course over ground
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthetechie committed Nov 15, 2023
1 parent 09a2e27 commit c2f3c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apple/Sources/FerrostarMapLibreUI/NavigationMapView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public struct NavigationMapView: View {

SymbolStyleLayer(identifier: "user-location", source: userLocationSource)
.iconImage(constant: UIImage(systemName: "location.north.circle.fill")!)
.iconRotation(constant: navigationState.heading?.trueHeading.magnitude ?? 0)
.iconRotation(constant: navigationState.courseOverGround?.magnitude ?? 0)
}
.edgesIgnoringSafeArea(.all)
.overlay(alignment: .top, content: {
Expand Down

0 comments on commit c2f3c0e

Please sign in to comment.