Layer
public class Layer
The Layer
protocol that represents map layer.
Returns the ID (a human-readable name) of the layer.
Declaration
Swift
public let id: String
Returns the visibility of this layer.
Declaration
Swift
public var isVisible: Bool { get set }
Arbitrary property, used to carry extra informatio
Declaration
Swift
public let metadata: Metadata?
Layer source states which data the map should display.
Declaration
Swift
public let source: String?
Returns the ID (a human-readable name) of the source of data for this layer.
Declaration
Swift
public let sourceLayer: String?
Type of the layer.
Declaration
Swift
public let type: LayerType?