removeStyleLayer

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

Removes an existing style layer.

Return

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

Parameters

layerId

An identifier of the style layer to remove.