PromoteId

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

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

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

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

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

Types

Companion
Link copied to clipboard

Static variables and methods.

object Companion

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?): 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

feature property name.

For more information see The online documentation.

val propertyName: String
sourceId
Link copied to clipboard

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

val sourceId: String?