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

    Interface SunExposureOptions

    What MassifLayer.sunExposure marches with; every default is the SDK's, set only what differs (the eye height, mostly). Meanings and units: docs/features/sun-exposure.md in the SDK.

    interface SunExposureOptions {
        cacheMB?: number;
        darkBelow?: number;
        discRadius?: number;
        eyeHeight?: number;
        firstStep?: number;
        load?: "allow" | "cached";
        loadTimeoutMs?: number;
        lodRatio?: number;
        lowSunBelow?: number;
        maxDistance?: number;
        minTexel?: number;
        refraction?: number;
        releaseCache?: boolean;
        stepGrowth?: number;
    }
    Index

    Properties

    cacheMB?: number

    What one call may hold in decoded elevation grids, MB. Default 96.

    darkBelow?: number

    Apparent altitude under which a point is DARK. Default -0.2666; -0.833 for a true altitude.

    discRadius?: number

    Sun disc radius in degrees, the penumbra's half-width. Default 0.2666.

    eyeHeight?: number

    Metres above the ground at each point. Default 1.5.

    firstStep?: number
    load?: "allow" | "cached"

    'cached' never waits for tiles: it asks for them in the background and flags what it lacked. Default 'allow'.

    loadTimeoutMs?: number

    Deadline for loading tiles in one call, ms; 0 for none. Default 20000.

    lodRatio?: number
    lowSunBelow?: number

    Apparent altitude under which a point is flagged LOW_SUN. Default 2.

    maxDistance?: number

    Cap on the march, metres. Default 30000.

    minTexel?: number
    refraction?: number
    releaseCache?: boolean

    Empty the elevation cache after the call: set it on the last chunk of a route.

    stepGrowth?: number