Classes
The following classes are available globally.
-
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
-
Undocumented
See moreDeclaration
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:
See more``` 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 } ```
Declaration
Swift
public class CredentialsManager
extension CredentialsManager: Equatable
extension CredentialsManager: CustomStringConvertible, CustomDebugStringConvertible
-
Undocumented
See moreDeclaration
Swift
public final class MapboxMap
-
Undocumented
See moreDeclaration
Swift
public final class GestureManager : NSObject
extension GestureManager: UIGestureRecognizerDelegate
-
Undocumented
See moreDeclaration
Swift
public class AppleLocationProvider : NSObject
extension AppleLocationProvider: LocationProvider
extension AppleLocationProvider: CLLocationManagerDelegate
-
Undocumented
See moreDeclaration
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
-
Undocumented
See moreDeclaration
-
Undocumented
See moreDeclaration
Swift
public class Style
extension Style: AnnotationStyleDelegate
extension Style: StyleManagerProtocol
-
The
See moreCompassDirectionFormatter
class provides properly formatted descriptions of absolute compass directions. For example, a value of90
may be formatted as “east”, depending on the locale.Declaration
Swift
public class CompassDirectionFormatter
-
Undocumented
See moreDeclaration
Swift
public class OrnamentsManager : NSObject
-
Undocumented
See moreDeclaration
Swift
public class Snapshotter