PromoteId

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

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

Parameters

propertyName

feature property name.

For more information see The online documentation.

sourceId

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

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.

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): String?
copy
Link copied to clipboard
fun copy(propertyName: String, sourceId: String? = null): PromoteId
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

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.