Enumerations

The following enumerations are available globally.

  • Represents camera events.

    Declaration

    Swift

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

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum CameraTrackingMode : Int

GestureState

  • Defines the gesture state.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public enum GestureState : Int
  • Describes possible cases of MapInteractionEvent.

    See more

    Declaration

    Swift

    public enum MapInteraction : Event

LocationIndicator

  • Types of the location marker visualization.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum LocationIndicator : Equatable

OnlineCachePolicy

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

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum OnlineCachePolicy
    extension OnlineCachePolicy: Equatable
  • The StyleCachePolicy sets rules for caching: time interval of storing the cache, maximum cache size, etc.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum StyleCachePolicy : Codable

StyleDefinition

  • Defines the location of the map style. Style should be in V2 format. map style specification

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum StyleDefinition
    extension StyleDefinition: Equatable

LayerType

  • Type of this layer. Can be one of “fill”, “line”, “symbol”, “circle”, “heatmap”, “fill-extrusion”, “raster”, “hillshade”, “background”, “sky”.

    Declaration

    Swift

    public enum LayerType : String, Codable
  • Defines the map styles available to the user.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum StyleMode : Int

LineCapPlacement

  • LiceCapPlacement

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum LineCapPlacement

LineJoinType

  • Line join type.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum LineJoinType

LinePatternType

  • Line pattern type.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum LinePatternType

LineUnit

  • Line unit.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum LineUnit

LinePatternRepeat

  • Line pattern repeat.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum LinePatternRepeat

LineOutlineStyle

  • Line outline style.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum LineOutlineStyle

LineCapType

  • Line cap type.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum LineCapType : Int

PolygonError

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

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum PolygonError : Int, Error
    extension PolygonError: LocalizedError

AnnotationServiceError

  • Annotation service error.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum AnnotationServiceError : Int, Error
    extension AnnotationServiceError: LocalizedError

RouteError

  • Enumeration of route errors.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum RouteError : Int, LocalizedError

TrafficIconCategory

  • The traffic category icon.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public enum TrafficIconCategory : Int, Decodable

TrafficMagnitude

  • The traffic magnitude.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public enum TrafficMagnitude : Int, Decodable

MapViewError

  • Enumeration of Map View errors.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum MapViewError : LocalizedError