PromoteId

fun PromoteId(propertyName: String, sourceId: String? = null)

Parameters

propertyName

feature property name.

For more information see The online documentation.

sourceId

source layer id of the feature, either source GeoJsonSource or VectorSource.