layerId property

String? layerId
getter/setter pair

An optional unique identifier for the layer within the current style.

Note: If featuresetId is valid, layerId will be ignored even if it has a valid value. Additionally, importId does not apply when using layerId.

Implementation

String? layerId;