How to display a map with custom projections
This example shows how to configure Equal Earth and Equirectangular projections using the SDK JS preview build.
Important
The features demonstrated here rely on a preview build of the JS SDK.
You can choose between pure projections (applied at all zoom levels) and presets (which automatically transition to Mercator on deep zoom). Set the type property to "equal" or "geodetic" for the adaptive presets, or use "equal-earth" and "equirectangular" for the pure projections.
Related examples
An extension of MapLibre GL JS
Was this helpful?