LocationIndicatorType

public enum LocationIndicatorType : Equatable

Types of the location marker visualization.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • 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. To provide a size for a custom location marker, provide an array of PositionMarkerSize to specify the model’s size at different zoom levels.

    Declaration

    Swift

    case custom(modelPath: String, sizes: [PositionMarkerSize])
  • 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: LocationIndicatorType
  • The location marker is rendered as a position marker with the heading.

    Declaration

    Swift

    public static let userLocation: LocationIndicatorType