PromoteId

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

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

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

Types

Companion
Link copied to clipboard
object Companion

Static variables and methods.

Properties

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