leaflet-rotate

Setup
Scenarios

Ctrl+drag / right-drag: pitch + bearing · Shift+wheel: rotate · Ctrl+wheel: trackpad pinch · click the compass to reset bearing + pitch

leaflet-rotate

MapLibre GL

View on Github