setLayerVisible

fun setLayerVisible(id: String, visible: Boolean = true)

Shows or hides the layer with matching id