geometry

fun geometry(value: Geometry, dataId: String? = null): GeoJsonSource.Builder

Add a Geometry to the GeojsonSource.

Parameters

value

the geometry

dataId

optional metadata to filter the SOURCE_DATA_LOADED events later