Enumerations
The following enumerations are available globally.
-
Anchor positions for marker placement.
See moreDeclaration
Swift
public enum MTAnchor : String, Sendable, Codable -
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 -
Padding values accepted by
See moreMTFitBoundsOptions.Declaration
Swift
public enum MTFitBoundsPadding : Sendable, Codable, Equatable -
Helper to construct common style expressions without raw strings.
See moreDeclaration
Swift
public enum MTExpression -
Commonly-used feature keys
See moreDeclaration
Swift
public enum MTFeatureKey : String, Sendable -
Helper to construct common filter expressions without raw strings.
See moreDeclaration
Swift
public enum MTFilter -
Typed keys for circle paint properties.
See moreDeclaration
Swift
public enum MTCirclePaintProperty : String, Sendable -
Typed keys for symbol layout properties.
See moreDeclaration
Swift
public enum MTSymbolLayoutProperty : String, Sendable -
Typed keys for symbol paint properties.
See moreDeclaration
Swift
public enum MTSymbolPaintProperty : String, Sendable -
Orientation of the circle when map is pitched.
See moreDeclaration
Swift
public enum MTCirclePitchAlignment : String -
Controls the scaling behavior of the circle when the map is pitched.
See moreDeclaration
Swift
public enum MTCirclePitchScale : String -
Controls the frame of reference for circle translate.
See moreDeclaration
Swift
public enum MTCircleTranslateAnchor : String -
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 -
Resampling/interpolation method to use for overscaling.
See moreDeclaration
Swift
public enum MTRasterResampling : String, Codable, Sendable -
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 -
A typed value container
See moreDeclaration
Swift
public enum MTPropertyValue : Sendable -
Represents the exceptions raised by the MTStyle object.
See moreDeclaration
Swift
public enum MTStyleError : Error -
A unified style value that may be a constant or an expression.
See moreDeclaration
Swift
public enum MTStyleValue : Sendable -
A scheme used for tiles.
See moreDeclaration
Swift
public enum MTTileScheme : String -
Encoding used by the Raster DEM source.
See moreDeclaration
Swift
public enum MTRasterDEMEncoding : String, Sendable -
Declaration
Swift
public enum MTSourceType : String, Codable -
Symbol text anchor positions.
See moreDeclaration
Swift
public enum MTTextAnchor : String, Sendable -
Common text field tokens
See moreDeclaration
Swift
public enum MTTextToken : String, Sendable -
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