Skip to content

sky

Stable

MapLibre's sky above the horizon of a pitched map, with fog over 3D terrain and an atmosphere around a globe.

Generated from the component's definition in the library, so it always matches the version this demo runs.

Attribute Type Default Description
map_id required string — ID of the map
sky_color any nil a color string, or an expression
horizon_color any nil a color string, or an expression
fog_color any nil a color string, or an expression
fog_ground_blend any nil a number from 0 to 1, or an expression
horizon_fog_blend any nil a number from 0 to 1, or an expression
sky_horizon_blend any nil a number from 0 to 1, or an expression
atmosphere_blend any nil a number from 0 to 1, or an expression
events any [] a list of event names, or :all