Classes

The following classes are available globally.

  • Undocumented

    See more

    Declaration

    Swift

    public class AnnotationOrchestrator
  • An instance of CircleAnnotationManager is responsible for a collection of CircleAnnotations.

    See more

    Declaration

    Swift

    public class CircleAnnotationManager : AnnotationManagerInternal
  • An instance of PointAnnotationManager is responsible for a collection of PointAnnotations.

    See more

    Declaration

    Swift

    public class PointAnnotationManager : AnnotationManagerInternal
  • An instance of PolygonAnnotationManager is responsible for a collection of PolygonAnnotations.

    See more

    Declaration

    Swift

    public class PolygonAnnotationManager : AnnotationManagerInternal
  • An instance of PolylineAnnotationManager is responsible for a collection of PolylineAnnotations.

    See more

    Declaration

    Swift

    public class PolylineAnnotationManager : AnnotationManagerInternal
  • Manager API to control View Annotations.

    View annotations are UIView instances that are drawn on top of the MapView and bound to some Geometry (only Point is 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 ViewAnnotationOptions.associatedFeatureId could be used to bind given view annotation with some Feature by Feature.identifier meaning visibility of view annotation will be driven by visibility of given feature.

    See more

    Declaration

    Swift

    public final class ViewAnnotationManager
  • Undocumented

    See more

    Declaration

    Swift

    public class BasicCameraAnimator : NSObject, CameraAnimator, CameraAnimatorInterface
  • An object that manages a camera’s view lifecycle.

    See more

    Declaration

    Swift

    public class CameraAnimationsManager : CameraAnimationsManagerProtocol
  • Undocumented

    See more

    Declaration

    Swift

    public class FlyToCameraAnimator : NSObject, CameraAnimator, CameraAnimatorInterface
  • Undocumented

    See more

    Declaration

    Swift

    public class OfflineSwitch
  • Options used when initializing MapView.

    Contains the ResourceOptions, MapOptions (including GlyphsRasterizationOptions) that are required to initialize a MapView.

    See more

    Declaration

    Swift

    public final class MapInitOptions : NSObject
  • Undocumented

    See more

    Declaration

    Swift

    public final class Projection
  • Undocumented

    See more

    Declaration

    Swift

    open class MapView : UIView
  • Undocumented

    See more

    Declaration

    Swift

    public final class MapboxMap : MapboxMapProtocol
    extension MapboxMap: MapEventsObservable
  • Convenience class that manages a global ResourceOptions

    It’s possible to create ResourceOptionsManager instances 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:

    ```
    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
    }
    ```
    
    See more

    Declaration

    Swift

    public class ResourceOptionsManager
  • Undocumented

    See more

    Declaration

    Swift

    public final class GestureManager : GestureHandlerDelegate
  • Undocumented

    See more

    Declaration

    Swift

    public final class AppleLocationProvider : NSObject
    extension AppleLocationProvider: LocationProvider
    extension AppleLocationProvider: CLLocationManagerDelegate
  • Instances of this class are delivered to LocationConsumers by LocationManager whenever the heading, location, or accuracy authorization change.

    See more

    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 more

    Declaration

    Swift

    public final class LocationManager : NSObject
    extension LocationManager: LocationProviderDelegate
  • The CompassDirectionFormatter class provides properly formatted descriptions of absolute compass directions. For example, a value of 90 may be formatted as “east”, depending on the locale.

    See more

    Declaration

    Swift

    public class CompassDirectionFormatter
  • Undocumented

    See more

    Declaration

    Swift

    public class OrnamentsManager : NSObject