API Reference > imodeljs-frontend > Utils > calculateSolarAngles calculateSolarAngles Function Beta calculate solar angles (in radians) based at a given date/time and location. calculateSolarAngles(date: Date, location: Cartographic): { azimuth: number, elevation: number } Parameter Type Description date Date location Cartographic Returns - { azimuth: number, elevation: number } Defined in core/frontend/src/SolarCalculate.ts Line 168 Last Updated: 13 June, 2024