Compass rose control

Add a compass rose as a visual indicator of the map’s bearing (rotation) using Custom Controls.

This example demonstrates how to effectively use declarative custom controls to implement a control that follows the state of the map without requiring any JavaScript to create it.


An extension of MapLibre GL JS