-
MapboxMap provides access to the map model, including the camera, style, observable map events, and querying rendered features. Obtain the MapboxMap instance for a
MapView
via MapView.mapboxMap.Important
MapboxMap should only be used from the main thread.Declaration
Swift
public final class MapboxMap : MapboxMapProtocol
extension MapboxMap: MapEventsObservable
-
Undocumented
See moreDeclaration
Swift
public struct CameraState : Hashable
-
Undocumented
See moreDeclaration
Swift
public struct CameraOptions : Hashable
-
Holds information about camera bounds.
See moreDeclaration
Swift
public struct CameraBounds : Hashable
-
Holds options to be used for setting camera bounds.
See moreDeclaration
Swift
public struct CameraBoundsOptions : Hashable
-
Declaration
Swift
public extension CoordinateBounds
-
A generic Event type.
Declaration
Swift
public typealias Event = MapboxCoreMaps.Event
-
Declaration
Swift
public extension MapEvents
-
Declaration
Swift
extension RenderedQueryOptions
-
Declaration
Swift
extension QueriedFeature
-
Declaration
Swift
extension FeatureExtensionValue
-
Error type that represents the data returned with the
.mapLoadingError
eventThe associated message (which is returned by
See moreerrorDescription
) contains a descriptive error message.Declaration
Swift
public enum MapLoadingError : LocalizedError