MaskLayer

data class MaskLayer(val layer: TileLayer, val code: LayerCode, var count: Int = 0)

Adds a mask layer of the specified type if not already present, or increments its reference count if it is. This function should be called from the main thread if it involves UI/map updates.

Constructors

Link copied to clipboard
constructor(layer: TileLayer, code: LayerCode, count: Int = 0)

Properties

Link copied to clipboard
Link copied to clipboard
var count: Int
Link copied to clipboard