I have recently been investigating the use of the ShadowCast widget in an upcoming project.
There seems to be an issue when the two extents of the time slider cross, the entire widget stops working.
I have tried this in edge and chrome.
sunUtils.js:formatted:168 Uncaught RangeError: Invalid array length
at Object.z.computeDirectionsOverTime (sunUtils.js:formatted:168)
at w.get (ShadowCastViewModel.js:17)
at Object.a.runTracked ((index):144)
at g.k.getComputed ((index):139)
at w._lightDirections ((index):212)
at ShadowCastViewModel.js:8
at Object.a.runTracked ((index):144)
at d.t [as _notify] ((index):194)
at d.h.onCommitted ((index):196)
at g.k.onCommitted ((index):142)
It looks like a divide by zero error in the sunUtils computeDirectionsOverTime function, caused by a 0 value being passed as the 3rd parameter
Solved! Go to Solution.
Looks like this has been resolved in the 4.22 release
Looks like this has been resolved in the 4.22 release