RasterSourceState

fun RasterSourceState(sourceId: String = generateRandomSourceId("raster"), initialProperties: List<Triple<String, Boolean, Value>> = emptyList())

Parameters

sourceId

The id of the source state, by default a random generated ID will be used.

initialProperties

The initial mutable properties of the source.