OrientationMode

public enum OrientationMode : UInt32, CaseIterable, Codable

Defines the visual presentation modes for the camera orientation.

  • Displays the map in 2D view with the camera perpendicular to the Earth’s surface. The camera looks straight down and rotates to match the vehicle’s heading in tracking mode.

    Declaration

    Swift

    case mode2d
  • Displays the map in 3D view with a tilted camera perspective. The camera uses a configurable tilt angle to provide depth perception.

    Declaration

    Swift

    case mode3d
  • Displays the map in north-up orientation where the top of the screen always points north, regardless of the vehicle’s heading. The map rotates beneath the viewport instead of rotating the camera to match heading.

    Declaration

    Swift

    case modeNorthUp