How to switch map projection programmatically
This example shows how to switch between “mercator” and “globe” map projection programmatically.
The choice between Mercator and Globe can be done at different levels and moments in the lifecycle of the map, yet, unless stated otherwise, Mercator remains the default.
Related examples
An extension of MapLibre GL JS