SDK JS
    Preparing search index...

    The subset of MapLibre's setSky spec that skyForAltitude drives. Loosely typed (plain CSS-colour strings + 0..1 blends) so this package needs no maplibre-gl import; SkyController passes it straight to map.setSky.

    interface SkySpec {
        "atmosphere-blend": number;
        "fog-color": string;
        "horizon-color": string;
        "horizon-fog-blend": number;
        "sky-color": string;
        "sky-horizon-blend": number;
    }
    Index

    Properties

    "atmosphere-blend": number

    Atmosphere halo strength (globe projection), 0..1; fades to 0 at night.

    "fog-color": string

    Ground-fog colour, CSS string (follows the direct sun colour so fog warms at golden hour).

    "horizon-color": string

    Horizon-band colour, CSS string.

    "horizon-fog-blend": number

    Blend between horizon and fog colours, 0..1 (harder below the horizon).

    "sky-color": string

    Upper sky-dome colour, CSS string.

    "sky-horizon-blend": number

    Blend between sky and horizon colours, 0..1.