Enumerations

The following enumerations are available globally.

CameraEvent

  • Represents camera events.

    See more

    Declaration

    Swift

    public enum CameraEvent
    extension CameraEvent: Event
  • A type that represents camera tracking modes.

    See more

    Declaration

    Swift

    public enum CameraTrackingMode

GestureState

MapInteraction

  • Describes possible cases of MapInteractionEvent.

    See more

    Declaration

    Swift

    public enum MapInteraction
    extension MapInteraction: Event

LocationIndicator

  • Types of the location marker visualization.

    See more

    Declaration

    Swift

    public enum LocationIndicator : Equatable

OnlineCachePolicy

  • The cache which is being used while fetching map tiles.

    See more

    Declaration

    Swift

    public enum OnlineCachePolicy
    extension OnlineCachePolicy: Equatable
  • MapGestureDisableOption An option set defining the map gestures to be disabled.

    See more

    Declaration

    Swift

    public enum MapGestureDisableOption

OnDiskCachePolicy

  • The OnDiskCachePolicy sets rules for caching: time interval of storing the cache, maximum cache size, etc.

    See more

    Declaration

    Swift

    public enum OnDiskCachePolicy : Equatable

StyleDefinition

LayerType

  • Type of this layer.

    Declaration

    Swift

    public enum LayerType

LineCapPlacement

LineJoinType

LinePatternType

LineUnit

LinePatternRepeat

LineOutlineStyle

LineCapType

TextAnchoring

PolygonError

  • The PolygonError enum contains possible errors that can occurs during Polygon init.

    See more

    Declaration

    Swift

    public enum PolygonError : Error
    extension PolygonError: LocalizedError

AnnotationServiceError

  • Annotation service error.

    See more

    Declaration

    Swift

    public enum AnnotationServiceError : Error
    extension AnnotationServiceError: LocalizedError

RouteError

  • Enumeration of route errors.

    See more

    Declaration

    Swift

    public enum RouteError : LocalizedError

TrafficIconCategory

  • The traffic category icon.

    Declaration

    Swift

    public enum TrafficIconCategory

TrafficMagnitude

  • The traffic magnitude.

    Declaration

    Swift

    public enum TrafficMagnitude

MapViewError

  • Enumeration of TomTomMap View errors.

    See more

    Declaration

    Swift

    public enum MapViewError : LocalizedError
  • Responsible for creating instances of MapDisplayDataProvider for handling online map tile requests. Important: This is a Public Preview API. It may be changed or removed at any time.

    See more

    Declaration

    Swift

    public enum OnlineTileDataProviderFactory