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.
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 savedProperties: Map<String, Pair<Boolean, Value>>, val geoJSONData: GeoJSONData) : Parcelable
The data class that holds the source state to restore from a Savable.