Set Projection for a Mapbox/Maplibre Map
This function sets the projection dynamically after map initialization.
set_projection(map, projection)
map
: A map object created by mapboxgl() or maplibre() functions, or their respective proxy objectsprojection
: A string representing the projection name (e.g., "mercator", "globe", "albers", "equalEarth", etc.)The modified map object