This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
MGLCompassDirectionFormatter should have granularity option #6872
Labels
archived
Archived because of inactivity
iOS
Mapbox Maps SDK for iOS
macOS
Mapbox Maps SDK for macOS
navigation
For the Mapbox Navigation SDK for Android or iOS or navigation use cases in general
MGLCompassDirectionFormatter currently provides the full 32 points of the mariner’s compass, which is good for maritime use cases but overly technical for the most common use case, terrestrial navigation UI. There should be a property that controls the formatter’s granularity, with the following options (naming suggestions welcome):
MGLCompassStyleCardinal
(4 points)MGLCompassStyleMainWinds
(8)MGLCompassStyleHalfWinds
(16)MGLCompassStyleQuarterWinds
(32)The default would be
MGLCompassStyleMainWinds
, whereas it is currently effectivelyMGLCompassStyleQuarterWinds
./cc @willwhite
The text was updated successfully, but these errors were encountered: