Classes
The following classes are available globally.
-
Subclassable view for adding custom annotations to the map.
See moreDeclaration
Swift
@MainActor open class MTCustomAnnotationView : UIView, @preconcurrency MTMapViewContent, @preconcurrency MTAnnotation, @unchecked Sendable
-
Annotation element that can be added to the map.
See moreDeclaration
Swift
public class MTMarker : MTAnnotation, MTMapViewContent, @unchecked Sendable
-
Declaration
Swift
public class MTTextPopup : MTAnnotation, MTMapViewContent, @unchecked Sendable
-
Basic benchmarking class.
See moreDeclaration
Swift
@MainActor public final class MTBenchmark : MTMapViewDelegate
-
Logger class used for SDK logs.
See moreDeclaration
Swift
public class MTLogger
-
Class responsible for location updates.
See moreDeclaration
Swift
public class MTLocationManager : NSObject, @preconcurrency CLLocationManagerDelegate
-
Object representing the map on the screen.
Exposes methods and properties that enable changes to the map, and fires events that can be interacted with.
See moreDeclaration
Swift
@MainActor open class MTMapView : UIView
extension MTMapView: MTControllable
extension MTMapView: MTNavigable
extension MTMapView: MTStylable
extension MTMapView: MTZoomable
extension MTMapView: MTLocationManagerDelegate
-
Service responsible for gesture handling and state.
See moreDeclaration
Swift
@MainActor public class MTGestureService
-
Sets combination of center, bearing and pitch, as well as roll and elevation.
See moreDeclaration
Swift
public class MTMapCameraHelper
-
The proxy object for the current map style.
Set of convenience methods for style, sources and layers manipulation. MTStyle is nil until map loading is complete. Since it is loaded asynchronously it should be manipulated only after
See moreMTEvent.didLoad
triggers.Declaration
Swift
@MainActor public class MTStyle
-
Undocumented
See moreDeclaration
Swift
public class MTVectorTileSource : MTTileSource, @unchecked Sendable