自定义太阳位置

Custom sun position

Arcgis javascript API 根据提供的日期计算太阳位置: view.environment.lighting.date

并相应地渲染场景。

有没有办法提供自定义太阳位置计算算法?

此时 JavaScript 的 ArcGIS API 不提供覆盖太阳位置的方法。 API 用来计算太阳位置的库是 https://github.com/mourner/suncalc