Classes
The following classes are available globally.
-
Undocumented
See moreDeclaration
Swift
public class AnnotationOrchestrator -
An instance of
See moreCircleAnnotationManageris responsible for a collection ofCircleAnnotations.Declaration
Swift
public class CircleAnnotationManager : AnnotationManagerInternal -
An instance of
See morePointAnnotationManageris responsible for a collection ofPointAnnotations.Declaration
Swift
public class PointAnnotationManager : AnnotationManagerInternal -
An instance of
See morePolygonAnnotationManageris responsible for a collection ofPolygonAnnotations.Declaration
Swift
public class PolygonAnnotationManager : AnnotationManagerInternal -
An instance of
See morePolylineAnnotationManageris responsible for a collection ofPolylineAnnotations.Declaration
Swift
public class PolylineAnnotationManager : AnnotationManagerInternal -
Manager API to control View Annotations.
View annotations are
UIViewinstances that are drawn on top of theMapViewand bound to someGeometry(onlyPointis supported for now). In case some view annotations intersect on the screen Z-index is based on addition order.View annotations are invariant to map camera transformations however such properties as size, visibility etc could be controlled by the user using update operation.
View annotations are not explicitly bound to any sources however
See moreViewAnnotationOptions.associatedFeatureIdcould be used to bind given view annotation with someFeaturebyFeature.identifiermeaning visibility of view annotation will be driven by visibility of given feature.Declaration
Swift
public final class ViewAnnotationManager
-
Undocumented
See moreDeclaration
Swift
public class BasicCameraAnimator : NSObject, CameraAnimator, CameraAnimatorInterface -
An object that manages a camera’s view lifecycle.
See moreDeclaration
Swift
public class CameraAnimationsManager : CameraAnimationsManagerProtocol -
Undocumented
See moreDeclaration
Swift
public class FlyToCameraAnimator : NSObject, CameraAnimator, CameraAnimatorInterface -
Undocumented
See moreDeclaration
Swift
public class OfflineSwitch -
Options used when initializing
MapView.Contains the
See moreResourceOptions,MapOptions(includingGlyphsRasterizationOptions) that are required to initialize aMapView.Declaration
Swift
public final class MapInitOptions : NSObject -
Undocumented
See moreDeclaration
Swift
public final class Projection -
Undocumented
See moreDeclaration
Swift
open class MapView : UIView -
Undocumented
See moreDeclaration
-
Convenience class that manages a global
ResourceOptionsIt’s possible to create
ResourceOptionsManagerinstances as you need them, however it’s convenient to use the default object (default).For example, we recommend that the Mapbox access token be set in
application(_:didFinishLaunchingWithOptions:)rather than relying on the value in your application’s Info.plist:
See more``` func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. ResourceOptionsManager.default.resourceOptions.accessToken = "overridden-access-token" return true } ```Declaration
Swift
public class ResourceOptionsManager -
Undocumented
See moreDeclaration
Swift
public final class GestureManager : GestureHandlerDelegate -
Undocumented
See moreDeclaration
Swift
public final class AppleLocationProvider : NSObjectextension AppleLocationProvider: LocationProviderextension AppleLocationProvider: CLLocationManagerDelegate -
Instances of this class are delivered to
See moreLocationConsumers byLocationManagerwhenever the heading, location, or accuracy authorization change.Declaration
Swift
@objc public class Location : NSObject -
An object responsible for notifying the map view about location-related events, such as a change in the device’s location.
See moreDeclaration
Swift
public final class LocationManager : NSObjectextension LocationManager: LocationProviderDelegate -
The
See moreCompassDirectionFormatterclass provides properly formatted descriptions of absolute compass directions. For example, a value of90may be formatted as “east”, depending on the locale.Declaration
Swift
public class CompassDirectionFormatter -
Undocumented
See moreDeclaration
Swift
public class OrnamentsManager : NSObject
Classes Reference