addOverlay

open fun addOverlay(layer: Layer<*>, name: String): Layers

Adds an overlay (checkbox entry) with the given name to the control.