Custom night satellite image in a goble with space background

Use a custom map of the Earth’s satellite image at night and display it on a globe with a space background.

In this example, we’ll use a custom map (night satellite) along with the halo and space options to create the effect of the Earth seen from space. Additionally, we’ll rotate the Earth and shift the central view of the map so that the Earth appears in the lower left corner of the map area.

To make the custom map download the images from Earth at Night and generat the tiles using the MapTiler Engine


Learn more

For halo customization, check the RadialGradientLayerConstructorOptions.

An extension of MapLibre GL JS