generateId

fun generateId(value: Boolean = false): GeoJsonSource.Builder

Whether to generate ids for the geojson features. When enabled, the feature.id property will be auto assigned based on its index in the features array, over-writing any previous values.