removeStyleLayer

Removes an existing style layer

Runtime style layers are valid until they are either removed or a new style is loaded.

Return

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

Parameters

layerId

Identifier of the style layer to remove.

open override fun removeStyleLayer(layerId: String): Expected<String, None>