On this page

    Add an atmospheric glow (halo) around the globe

    Use the halo:true option in the map constructor to enable a simple halo. This feature adds an atmospheric glow around the globe, simulating the visual effect of Earth’s atmosphere when viewed from space.

    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

    Was this helpful?

    SDK JS
    Examples
    Add an atmospheric glow (halo) around the globe
    Globe with halo