styleLayerExists

open override fun styleLayerExists(layerId: String): Boolean

Checks whether a given style layer exists.

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

Return

True if the given style layer exists, false otherwise.

Parameters

layerId

Style layer identifier.