styleLayerExists

abstract fun styleLayerExists(layerId: String): Boolean

Checks whether a given style layer exists.

Return

`true` value if the given style layer exists, `false` otherwise.

Parameters

layerId

Style layer identifier.