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 moreDeclaration
Swift
public enum MTError : Error -
SDK log level.
See moreDeclaration
Swift
public enum MTLogLevel : Sendable, Equatable -
Type of log messages in the SDK.
See moreDeclaration
Swift
public enum MTLogType : Sendable -
Events triggered by the SDK
See moreDeclaration
Swift
public enum MTEvent : String -
Language of the map labels.
See moreDeclaration
Swift
public enum MTLanguage : Sendable, Codable -
Custom language options.
See moreDeclaration
Swift
public enum MTSpecialLanguage : String, Sendable, Codable -
Languages available for MTMapView object.
See moreDeclaration
Swift
public enum MTCountryLanguage : String, Sendable, Codable, CaseIterable -
Enum representing MTLocationManager errors.
See moreDeclaration
Swift
public enum MTLocationError : Error -
Units of measurement used in MTMapView object.
See moreDeclaration
Swift
public enum MTUnit : String, Sendable -
Gesture types available in the SDK.
See moreDeclaration
Swift
@MainActor public enum MTGestureType -
Enum controlling the frame of reference for fill translate.
See moreDeclaration
Swift
public enum MTFillTranslateAnchor : String -
The display of line endings.
See moreDeclaration
Swift
public enum MTLineCap : String -
The display of lines when joining.
See moreDeclaration
Swift
public enum MTLineJoin : String -
Controls the frame of reference for line translate.
See moreDeclaration
Swift
public enum MTLineTranslateAnchor : String -
Types of layers.
See moreDeclaration
Swift
public enum MTLayerType : String, Codable -
Enum representing the visibility of the layer.
See moreDeclaration
Swift
public enum MTLayerVisibility : String -
Defines purpose and guidelines on what information is displayed.
See moreDeclaration
Swift
public enum MTMapReferenceStyle : Identifiable, Hashable, Sendable -
Variants of the reference styles.
See moreDeclaration
Swift
public enum MTMapStyleVariant : String, Sendable, CaseIterable, Identifiable -
Represents the exceptions raised by the MTStyle object.
See moreDeclaration
Swift
public enum MTStyleError : Error -
A scheme used for tiles.
See moreDeclaration
Swift
public enum MTTileScheme : String -
Declaration
Swift
public enum MTSourceType : String, Codable -
Representing the control of the change rate of the animation.
See moreDeclaration
Swift
public enum MTEasing : String, Sendable, Codable -
Option that can enable default halo or configure it.
See moreDeclaration
Swift
public enum MTHaloOption : Sendable, Codable -
Sets whether extruded geometries are lit relative to the map or viewport.
See moreDeclaration
Swift
public enum MTLightAnchor : String, Sendable, Codable -
Represents corners of the map.
See moreDeclaration
Swift
public enum MTMapCorner : String, Sendable, Codable -
Type of projection the map uses.
See moreDeclaration
Swift
public enum MTProjectionType : String, Sendable, Codable -
Predefined cubemap presets for space backgrounds.
See moreDeclaration
Swift
public enum MTSpacePreset : String, Sendable, Codable, CaseIterable -
Option that can enable default space or configure it.
See moreDeclaration
Swift
public enum MTSpaceOption : Sendable, Codable