@nativescript-community/ui-massifmaps
    Preparing search index...

    Interface SunExposure

    The result of MassifLayer.sunExposure, one entry per input position in each array.

    interface SunExposure {
        count: number;
        deadlineHit: boolean;
        horizon: number[];
        maxZoomUsed: number;
        minZoomUsed: number;
        shadowDistance: number[];
        status: number[];
        sunFraction: number[];
        tilesLoaded: number;
        tilesMissing: number;
        truncated: boolean;
    }
    Index

    Properties

    count: number
    deadlineHit: boolean

    The load deadline passed: what was not loaded is flagged, not guessed.

    horizon: number[]

    Degrees; a lower bound where the sun is hidden, -90 for none.

    maxZoomUsed: number
    minZoomUsed: number

    Zoom range of the elevation tiles the answers used, -1 when none.

    shadowDistance: number[]

    Metres to the first ground that hid the sun's centre, -1 for none.

    status: number[]

    Bit set of SunExposureStatus.

    sunFraction: number[]

    Share of the sun's disc the terrain leaves visible: 0 hidden to 1 lit, -1 unknown (NO_DEM).

    tilesLoaded: number
    tilesMissing: number
    truncated: boolean

    Some point was lit with a low sun and a march cut at maxDistance.