PromoteId

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

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

Parameters

propertyName

promote id value.

sourceId

source layer in VectorSource to which the feature ID override applies.

If not provided the override will be applied to all layers of the source.

For more information see The online documentation.

Constructors

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

Construct a PromoteId object from an Expression.

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

Types

Link copied to clipboard
object Companion

Static variables and methods.

Properties

Link copied to clipboard

Expression to promote.

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