feature

fun feature(value: Feature, dataId: String? = null): GeoJsonSource.Builder

Add a Feature to the GeojsonSource.

Parameters

value

the feature

dataId

optional metadata to filter the SOURCE_DATA_LOADED events later