PromoteId

data class PromoteId @JvmOverloads constructor(val propertyName: String, val sourceId: String? = null)

Holds a property type to promote a specific feature for feature state API.

Parameters

sourceId

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

propertyName

feature property name.

For more information see The online documentation.

Constructors

Link copied to clipboard
fun PromoteId(propertyName: String, sourceId: String? = null)

Types

Link copied to clipboard
object Companion

Static variables and methods.

Properties

Link copied to clipboard
Link copied to clipboard
val sourceId: String? = null