Add a custom color background to the globe
Use the space
option in the map constructor to enable a simple space background with a solid color.
This option only takes effect when used in conjunction with the projection: 'globe'
parameter.
Learn more
For space customization and options, check the CubemapLayerConstructorOptions.
Related examples
An extension of MapLibre GL JS