You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
MGLCompassDirectionFormatter should have granularity option #6872
archivedArchived because of inactivityiOSMapbox Maps SDK for iOSmacOSMapbox Maps SDK for macOSnavigationFor 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 effectively MGLCompassStyleQuarterWinds.
This would’ve been nice for mapbox/mapbox-navigation-ios#2077, but at least we have a workaround: round the degree measurement to increments that ensure the right granularity.
archivedArchived because of inactivityiOSMapbox Maps SDK for iOSmacOSMapbox Maps SDK for macOSnavigationFor the Mapbox Navigation SDK for Android or iOS or navigation use cases in general
Activity
stale commentedon Nov 23, 2018
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
1ec5 commentedon Apr 4, 2019
This would’ve been nice for mapbox/mapbox-navigation-ios#2077, but at least we have a workaround: round the degree measurement to increments that ensure the right granularity.
stale commentedon Oct 1, 2019
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.