-
Options used when initializing
MapView
.Contains the
See moreResourceOptions
,MapOptions
(includingGlyphsRasterizationOptions
) that are required to initialize aMapView
. -
A protocol used to provide
See moreMapInitOptions
when initializing aMapView
with a Storyboard or a nib.
-
Options to configure access to a resource
See moreDeclaration
Swift
-
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 } ```
-
A protocol to open attribution URLs.
Use this protocol when the map view is used in non-application target(e.g. application extension target).
See more