Create a map with atmosphere
This is a modified version of the Streets template style.
The data used in this example comes from the
In Studio, atmosphere is added to the style by enabling
atmospherefrom the 3D tab.
- Atmosphere properties: Customize atmopshere by modifying the space color, high and low atmosphere colors, star intensity, and horizon blend. Learn more in the Mapbox Style Specification for fog.
- Zoom levels: Zoom expressions can be used to create realistic atmosphere at different zoom levels. This example uses a zoom expression to change
star intensityat high and low zooms.
- Adaptive projection: This example uses the
globeprojection. Learn more about projections in the style specification.
- Atmosphere / Fog: Atmosphere is referred to as
fogin the Mapbox GL JS style specification, and is supported for both
Looking for more guidance? Read our tutorials.