addLegend

fun addLegend(forConfig: WeatherLayerConfiguration<*, *>)

Adds or refreshes the legend defined on forConfig into the current legendControl.