LocationIndicator

public enum LocationIndicator : Equatable

Types of the location marker visualization.

  • The location marker is rendered in a chevron pattern which can be added to the marker’s scale.

    Declaration

    Swift

    case navigationChevron(scale: Float)
  • The location marker is rendered as a position marker, with the heading to be added to the marker’s scale.

    Declaration

    Swift

    case userLocation(scale: Float)
  • Gives the ability to add a custom .glb model as a location indicator. To correctly provide the file.glb file to your project path, the model should look like asset://file.glb. Markers size will be changed depending on current zoom level and scale parameter.

    Declaration

    Swift

    case custom(modelPath: String, scale: Float)
  • No location marker will be rendered on the map.

    Declaration

    Swift

    case none

Public

  • The location marker is rendered in a chevron pattern.

    Declaration

    Swift

    public static let navigationChevron: LocationIndicator
  • The location marker is rendered as a position marker with the heading.

    Declaration

    Swift

    public static let userLocation: LocationIndicator