setDarkTheme

fun setDarkTheme(enabled: Boolean = true)

Switches the legend panel to a dark map-overlay style (semi-transparent black panel, white labels). Re-applies presentation to legends already on the control.