Classes
The following classes are available globally.
-
Undocumented
See moreDeclaration
Swift
public class AnnotationOrchestrator
-
An instance of
See moreCircleAnnotationManager
is responsible for a collection ofCircleAnnotation
s.Declaration
Swift
public class CircleAnnotationManager : AnnotationManagerInternal
-
An instance of
See morePointAnnotationManager
is responsible for a collection ofPointAnnotation
s.Declaration
Swift
public class PointAnnotationManager : AnnotationManagerInternal
-
An instance of
See morePolygonAnnotationManager
is responsible for a collection ofPolygonAnnotation
s.Declaration
Swift
public class PolygonAnnotationManager : AnnotationManagerInternal
-
An instance of
See morePolylineAnnotationManager
is responsible for a collection ofPolylineAnnotation
s.Declaration
Swift
public class PolylineAnnotationManager : AnnotationManagerInternal
-
Manager API to control View Annotations.
View annotations are
UIView
instances that are drawn on top of theMapView
and bound to someGeometry
(onlyPoint
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
See moreViewAnnotationOptions.associatedFeatureId
could be used to bind given view annotation with someFeature
byFeature.identifier
meaning 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
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:
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 : NSObject
extension AppleLocationProvider: LocationProvider
extension AppleLocationProvider: CLLocationManagerDelegate
-
Instances of this class are delivered to
See moreLocationConsumer
s byLocationManager
whenever 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 : NSObject
extension LocationManager: LocationProviderDelegate
-
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