Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

MGLCompassDirectionFormatter should have granularity option #6872

@1ec5

Description

@1ec5

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.

/cc @willwhite

Metadata

Metadata

Assignees

No one assigned

    Labels

    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

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions