PromoteId

fun PromoteId(expression: Expression, sourceId: String? = null)

Construct a PromoteId object from an Expression.

Parameters

expression

expression to promote.

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.


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

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.