• Style provides access to the APIs used to dynamically modify the map’s style. Use it to read and write layers, sources, and images. Obtain the Style instance for a MapView via MapView.mapboxMap.style.

    Note: Style should only be used from the main thread.

    See more

    Declaration

    Swift

    public final class Style : StyleProtocol
  • Enum representing the latest version of the Mapbox styles (as of publication). In addition, you can provide a custom URL or earlier version of a Mapbox style by using the .custom case.

    See more

    Declaration

    Swift

    public struct StyleURI : Hashable, RawRepresentable
  • Specifies the position at which a layer will be added when using Style.addLayer.

    See more

    Declaration

    Swift

    public enum LayerPosition : Equatable
  • Declaration

    Swift

    extension TransitionOptions
  • The global light source.

    See more

    Declaration

    Swift

    public struct Light : Codable
  • The global terrain source.

    See more

    Declaration

    Swift

    public struct Terrain : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public protocol StyleDecodable
  • Undocumented

    See more

    Declaration

    Swift

    public protocol StyleEncodable