MTMarkerRotationAlignment

public enum MTMarkerRotationAlignment : String, Sendable, Codable

Alignment for marker rotation relative to map or viewport.

  • map

    Aligns the marker’s rotation with the map, reacting to map bearing.

    Declaration

    Swift

    case map
  • Aligns the marker’s rotation with the viewport, ignoring map bearing.

    Declaration

    Swift

    case viewport
  • Alias for .viewport.

    Declaration

    Swift

    case auto