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)
source layer id of the feature, either source GeoJsonSource or VectorSource.

Types

Companion
Link copied to clipboard
object Companion
Static variables and methods.

Properties

propertyName
Link copied to clipboard
val propertyName: String
feature property name.
sourceId
Link copied to clipboard
val sourceId: String? = null
source layer id of the feature, either source GeoJsonSource or VectorSource.