setStyleSourceProperty

Sets a value to a style source property. Note: When setting the `data` property of a `geojson` source, this method never returns an error. In case of success, a `map-loaded` event will be propagated. In case of errors, a `map-loading-error` event will be propagated instead.

Return

A string describing an error if the operation was not successful, empty otherwise.

Parameters

property

The style source property name.

sourceId

A style source identifier.

value

The style source property value.

open fun setStyleSourceProperty(sourceId: String, property: String, value: Value): Expected<String, None>