ol-ext: control Legend
The
ol/control/Legend
computes a legend based on
ol/styl/Style
and draw it on the map.
This example displays a legend for a statistical map.