Source State
The base class for SourceStates, which handles the attach/detach from the layer, and updating Source properties.
Parameters
source Id
The id of the source state.
source Type
The type of the source in plain text.
coroutine Scope
The coroutine scope used to observe state flows.
builder Properties
The immutable properties of the source.
initial Properties
The initial mutable properties of the source.
initial Geo Json Data
The initial GeoJSONData of the source to be used for GeoJsonSourceState.
Types
Link copied to clipboard
data class Holder(val sourcedId: String, val builderProperties: Map<String, Value>, val cachedProperties: Map<String, Value>, val geoJSONData: GeoJSONData) : Parcelable
The data class that holds the source state to restore from a Savable.