• 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.
    See more

    Declaration

    Swift

    public final class MapboxMap : MapboxMapProtocol
    extension MapboxMap: MapEventsObservable
  • Undocumented

    See more

    Declaration

    Swift

    public struct CameraState : Hashable
  • Undocumented

    See more

    Declaration

    Swift

    public struct CameraOptions : Hashable
  • Holds information about camera bounds.

    See more

    Declaration

    Swift

    public struct CameraBounds : Hashable
  • Holds options to be used for setting camera bounds.

    See more

    Declaration

    Swift

    public struct CameraBoundsOptions : Hashable
  • Type of errors thrown by the MapboxMap APIs.

    See more

    Declaration

    Swift

    public struct MapError : LocalizedError, CoreErrorRepresentable
  • Error type that represents the data returned with the .mapLoadingError event

    The associated message (which is returned by errorDescription) contains a descriptive error message.

    See more

    Declaration

    Swift

    public enum MapLoadingError : LocalizedError