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