Classes

The following classes are available globally.

  • Manages the addition, update, and the deletion of annotations to a map.

    All annotations added with this class belong to a single source and style layer.

    See more

    Declaration

    Swift

    public class AnnotationManager
  • Undocumented

    See more

    Declaration

    Swift

    open class BaseMapView : UIView
  • 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
  • Undocumented

    See more

    Declaration

    Swift

    public class FlyToCameraAnimator : NSObject, CameraAnimator, CameraAnimatorInterface
  • Convenience class that holds MapboxMaps related secrets.

    It’s possible to create CredentialsManager 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.
        CredentialsManager.default.accessToken = "overridden-access-token"
        return true
    }
    ```
    
    See more

    Declaration

    Swift

    public class CredentialsManager
    extension CredentialsManager: Equatable
    extension CredentialsManager: CustomStringConvertible, CustomDebugStringConvertible
  • Undocumented

    See more

    Declaration

    Swift

    public final class MapboxMap
  • Undocumented

    See more

    Declaration

    Swift

    public final class GestureManager : NSObject
    extension GestureManager: UIGestureRecognizerDelegate
  • Undocumented

    See more

    Declaration

    Swift

    public class AppleLocationProvider : NSObject
    extension AppleLocationProvider: LocationProvider
    extension AppleLocationProvider: CLLocationManagerDelegate
  • Undocumented

    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 class LocationManager : NSObject
    extension LocationManager: LocationProviderDelegate
  • 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

    open class MapView : BaseMapView
    extension MapView: LocationSupportableMapView
  • Undocumented

    See more

    Declaration

    Swift

    public class Style
    extension Style: AnnotationStyleDelegate
    extension Style: StyleManagerProtocol
  • 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