OptionalcacheWhat one call may hold in decoded elevation grids, MB. Default 96.
OptionaldarkApparent altitude under which a point is DARK. Default -0.2666; -0.833 for a true altitude.
OptionaldiscSun disc radius in degrees, the penumbra's half-width. Default 0.2666.
OptionaleyeMetres above the ground at each point. Default 1.5.
OptionalfirstOptionalload'cached' never waits for tiles: it asks for them in the background and flags what it lacked. Default 'allow'.
OptionalloadDeadline for loading tiles in one call, ms; 0 for none. Default 20000.
OptionallodOptionallowApparent altitude under which a point is flagged LOW_SUN. Default 2.
OptionalmaxCap on the march, metres. Default 30000.
OptionalminOptionalrefractionOptionalreleaseEmpty the elevation cache after the call: set it on the last chunk of a route.
Optionalstep
What
MassifLayer.sunExposuremarches 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.