-
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.
Important
Style should only be used from the main thread.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
See more.custom
case.Declaration
Swift
public struct StyleURI : Hashable, RawRepresentable
-
Specifies the position at which a layer will be added when using
See moreStyle.addLayer
.Declaration
Swift
public enum LayerPosition : Equatable
-
Declaration
Swift
extension TransitionOptions
-
Declaration
Swift
public struct Light : Codable
-
Declaration
Swift
public struct Terrain : Codable
-
A protocol describing a style-related entity that can be decoded.
See moreDeclaration
Swift
public protocol StyleDecodable
-
A protocol describing a style-related entity that can be encoded.
See moreDeclaration
Swift
public protocol StyleEncodable
-
Undocumented
See moreDeclaration
Swift
public enum TypeConversionError : Error