geometry
fun geometry(value: Geometry, dataId: String? = null): GeoJsonSource.Builder
Content copied to clipboard
Add a Geometry to the GeojsonSource.
Parameters
value
the geometry
data Id
optional metadata to filter the SOURCE_DATA_LOADED events later