geometry

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

Add a Geometry to the GeojsonSource.

Parameters

value

the geometry

dataId

optional metadata to filter the SOURCE_DATA_LOADED events later. Empty string is treated as no data id.