On this page

    Add a custom milkyway, stars and halo background to the globe

    Customize the map background to create a red Milky Way effect and create a “toxic” halo around the Earth.

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

    In this example, we’ll use a Milky Way background, we will change the color of the stars to red and add a custom halo to create a toxic atmosphere effect.

    
    

    Learn more

    For space customization and options, check the CubemapLayerConstructorOptions.

    An extension of MapLibre GL JS

    Was this helpful?

    SDK JS
    Examples
    Add a custom milkyway, stars and halo background to the globe
    Globe with milkyway and halo