setPaintProperty

fun setPaintProperty(layerId: String, property: String, value: Any)
  • Sets the value of a paint style property for the specified layer.

Parameters

layerId

Identifier of the layer to set the paint property on.

property

Paint style property to set as a key path string.

value

New value of the paint style property to set.