Geo Json Source State
fun GeoJsonSourceState(sourceId: String = generateRandomSourceId("geojson"), initialData: GeoJSONData = GeoJSONData.default, initialBuilderProperties: Map<String, Value> = mapOf(), initialProperties: Map<String, Value> = mapOf())
Parameters
source Id
The id of the source state, by default a random generated ID will be used.
initial Builder Properties
The initial immutable properties of the source.
initial Properties
The initial mutable properties of the source.
initial Data
The initial GeoJSONData of the source.