SourceState

The base class for SourceStates, which handles the attach/detach from the layer, and updating Source properties.

Parameters

sourceId

The id of the source state.

sourceType

The type of the source in plain text.

initialProperties

The initial mutable properties of the source.

initialGeoJsonData

The initial GeoJSONData of the source to be used for GeoJsonSourceState.

Types

Link copied to clipboard
data class Holder(val sourcedId: String, val cachedProperties: List<Triple<String, Boolean, Value>>, val geoJSONData: GeoJSONData) : Parcelable

The data class that holds the source state to restore from a Savable.

Functions

Link copied to clipboard
open override fun toString(): String

Overrides the toString method to print more meaningful information.

Properties

Link copied to clipboard
open val sourceId: String

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard