PromoteIdValue

data class PromoteIdValue(val value: Value) : HoldsValue

A property to use as a feature id (for feature state). Either a property name, or an object of the form {<sourceLayer>: <propertyName>}:

Parameters

value

the property wrapped in Value to be used with native renderer.

Constructors

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

Construct the PromoteIdValue with propertyName and optional sourceId.

Link copied to clipboard
fun PromoteIdValue(expression: Expression, sourceId: String? = null)

Construct the PromoteId with Mapbox Expression.

Link copied to clipboard
fun PromoteIdValue(value: Value)

Types

Link copied to clipboard
object Companion

Public companion object.

Functions

Link copied to clipboard

True if the this value is not INITIAL

Properties

Link copied to clipboard
open override val value: Value