Classes

The following classes are available globally.

  • 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 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
  • Undocumented

    See more

    Declaration

    Swift

    public class Style
  • 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