wbreeze / ShipsClock

An iOS, SwiftUI clock for tracking watches on board a ship. Marks the day in periods of four hours.
https://wbreeze.github.io/ShipsClock
Apache License 2.0
2 stars 0 forks source link

Show true direction and speed #5

Closed wbreeze closed 4 years ago

wbreeze commented 4 years ago

Show track and velocity as text under or next to the clock, depending the device orientation. Show track to the nearest point and nearest degree, numeric, relative to true north. Use knots as unit of velocity. When the velocity is single digits, show tenths.

For example:

Making WNW 338º true at 4.3 Kts

or

Making SE 134º true at 11 Kts

Use the localized format for the decimal.

This requires asking for and gaining location data permission. It can be while using. If not available, display should not render.

wbreeze commented 4 years ago

Here's a points of compass reference from Wikipedia.