You can specify the projection in the map constructor:
Copy
const map = new Map({ container: 'map', style: 'https://3dmapfi.xyz/styles/street.json', projection: 'globe', // or 'mercator', or a custom projection object});
Some layers may require adjustments or reconfiguration when switching projections. For example, symbol placement or label orientation may need to be updated for optimal readability.
Copy
map.on('projectionchange', () => { // Update layer properties or re-calculate data as needed});