API Reference > imodeljs-frontend > Utils > calculateSolarDirection calculateSolarDirection Function Beta calculate solar direction based at a given date/time and location. calculateSolarDirection(date: Date, location: Cartographic): Vector3d Parameter Type Description date Date location Cartographic Returns - Vector3d Defined in core/frontend/src/SolarCalculate.ts Line 183 Last Updated: 13 June, 2024