ol-ext: control compass
The ol.control.Compass draw a compass on a map.
Use the ol-compassctrl CSS class to place the compass on the map.
You can change the compass image, so this can be used to draw a compass, an icon or a watermark on the map.
The image can rotate with the map. Lines can be added.