Enumerations

The following enumerations are available globally.

  • Represents all the errors that can occur in the MapTiler SDK.

    All methods within the SDK throw MTError.

    See more

    Declaration

    Swift

    public enum MTError : Error
  • SDK log level.

    See more

    Declaration

    Swift

    public enum MTLogLevel : Sendable, Equatable
  • Type of log messages in the SDK.

    See more

    Declaration

    Swift

    public enum MTLogType : Sendable
  • Events triggered by the SDK

    See more

    Declaration

    Swift

    public enum MTEvent : String
  • Language of the map labels.

    See more

    Declaration

    Swift

    public enum MTLanguage : @unchecked Sendable, Codable
  • Custom language options.

    See more

    Declaration

    Swift

    public enum MTSpecialLanguage : String, Codable
  • Languages available for MTMapView object.

    See more

    Declaration

    Swift

    public enum MTCountryLanguage : String, Codable, CaseIterable
  • Enum representing MTLocationManager errors.

    See more

    Declaration

    Swift

    public enum MTLocationError : Error
  • Units of measurement used in MTMapView object.

    See more

    Declaration

    Swift

    public enum MTUnit : String, Sendable
  • Gesture types available in the SDK.

    See more

    Declaration

    Swift

    @MainActor
    public enum MTGestureType
  • Enum controlling the frame of reference for fill translate.

    See more

    Declaration

    Swift

    public enum MTFillTranslateAnchor : String
  • The display of line endings.

    See more

    Declaration

    Swift

    public enum MTLineCap : String
  • The display of lines when joining.

    See more

    Declaration

    Swift

    public enum MTLineJoin : String
  • Controls the frame of reference for line translate.

    See more

    Declaration

    Swift

    public enum MTLineTranslateAnchor : String
  • Types of layers.

    See more

    Declaration

    Swift

    public enum MTLayerType : String, Codable
  • Enum representing the visibility of the layer.

    See more

    Declaration

    Swift

    public enum MTLayerVisibility : String
  • Defines purpose and guidelines on what information is displayed.

    See more

    Declaration

    Swift

    public enum MTMapReferenceStyle : Identifiable, Hashable, @unchecked Sendable
  • Variants of the reference styles.

    See more

    Declaration

    Swift

    public enum MTMapStyleVariant : String, @unchecked Sendable, CaseIterable, Identifiable
  • Represents the exceptions raised by the MTStyle object.

    See more

    Declaration

    Swift

    public enum MTStyleError : Error
  • A scheme used for tiles.

    See more

    Declaration

    Swift

    public enum MTTileScheme : String
  • Types of sources.

    Sources state which data the map should display.

    See more

    Declaration

    Swift

    public enum MTSourceType : String, Codable
  • Representing the control of the change rate of the animation.

    See more

    Declaration

    Swift

    public enum MTEasing : String, Sendable, Codable
  • Sets whether extruded geometries are lit relative to the map or viewport.

    See more

    Declaration

    Swift

    public enum MTLightAnchor : String, Codable
  • Represents corners of the map.

    See more

    Declaration

    Swift

    public enum MTMapCorner : String, @unchecked Sendable, Codable
  • Type of projection the map uses.

    See more

    Declaration

    Swift

    public enum MTProjectionType : String, Codable