Add a custom halo around the globe

Use the halo option in the map constructor to create a custom halo. You can define a radial gradient with scale and stops to add a custom atmospheric glow around the globe.

This option only takes effect when used in conjunction with the projection: 'globe' parameter.


Learn more

For halo customization, check the RadialGradientLayerConstructorOptions.

An extension of MapLibre GL JS