-
Undocumented
See moreDeclaration
Swift
open class MapView : UIView
-
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
@objc public protocol MapInitOptionsProvider
-
Options to configure access to a resource
See moreDeclaration
Swift
public struct ResourceOptions
extension ResourceOptions: Hashable
extension ResourceOptions: CustomStringConvertible, CustomDebugStringConvertible
-
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
-
Declaration
Swift
extension MapOptions
-
Declaration
Swift
extension GlyphsRasterizationOptions
-
A protocol that supplies current interface orientation for the specified view.
Use this protocol when the map view is used in non-application target (e.g. application extension target).
See moreDeclaration
Swift
@available(iOS, deprecated: 13) public protocol InterfaceOrientationProvider
-
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 moreDeclaration
Swift
public protocol AttributionURLOpener