calculateSunriseOrSunset Function
calculate solar sunrise or sunset for a given day and cartographic location.
calculateSunriseOrSunset(date: Date, location: Cartographic, sunrise: boolean): Date
Parameter | Type | Description |
---|---|---|
date | Date | |
location | Cartographic | |
sunrise | boolean |
Returns - Date
Defined in
- core/common/src/SolarCalculate.ts Line 223
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.