ol-ext: control Legends
The
ol/control/Legend
computes a legend based on
ol/style/Style
and draw it on the map.
This example displays a legend with 2 columns.