<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Shadow Cast Widget Bug in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/shadow-cast-widget-bug/m-p/1120685#M75413</link>
    <description>&lt;P&gt;I have recently been investigating the use of the ShadowCast widget in an upcoming project.&lt;/P&gt;&lt;P&gt;There seems to be an issue when the two extents of the time slider cross, the entire widget stops working.&lt;/P&gt;&lt;P&gt;I have tried this in edge and chrome.&lt;/P&gt;&lt;P&gt;sunUtils.js:formatted:168 Uncaught RangeError: Invalid array length&lt;BR /&gt;at Object.z.computeDirectionsOverTime (sunUtils.js:formatted:168)&lt;BR /&gt;at w.get (ShadowCastViewModel.js:17)&lt;BR /&gt;at Object.a.runTracked ((index):144)&lt;BR /&gt;at g.k.getComputed ((index):139)&lt;BR /&gt;at w._lightDirections ((index):212)&lt;BR /&gt;at ShadowCastViewModel.js:8&lt;BR /&gt;at Object.a.runTracked ((index):144)&lt;BR /&gt;at d.t [as _notify] ((index):194)&lt;BR /&gt;at d.h.onCommitted ((index):196)&lt;BR /&gt;at g.k.onCommitted ((index):142)&lt;/P&gt;&lt;P&gt;It looks like a divide by zero error in the sunUtils computeDirectionsOverTime function, caused by a 0 value being passed as the 3rd parameter&lt;/P&gt;</description>
    <pubDate>Mon, 29 Nov 2021 05:16:49 GMT</pubDate>
    <dc:creator>JethroLeevers</dc:creator>
    <dc:date>2021-11-29T05:16:49Z</dc:date>
    <item>
      <title>Shadow Cast Widget Bug</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/shadow-cast-widget-bug/m-p/1120685#M75413</link>
      <description>&lt;P&gt;I have recently been investigating the use of the ShadowCast widget in an upcoming project.&lt;/P&gt;&lt;P&gt;There seems to be an issue when the two extents of the time slider cross, the entire widget stops working.&lt;/P&gt;&lt;P&gt;I have tried this in edge and chrome.&lt;/P&gt;&lt;P&gt;sunUtils.js:formatted:168 Uncaught RangeError: Invalid array length&lt;BR /&gt;at Object.z.computeDirectionsOverTime (sunUtils.js:formatted:168)&lt;BR /&gt;at w.get (ShadowCastViewModel.js:17)&lt;BR /&gt;at Object.a.runTracked ((index):144)&lt;BR /&gt;at g.k.getComputed ((index):139)&lt;BR /&gt;at w._lightDirections ((index):212)&lt;BR /&gt;at ShadowCastViewModel.js:8&lt;BR /&gt;at Object.a.runTracked ((index):144)&lt;BR /&gt;at d.t [as _notify] ((index):194)&lt;BR /&gt;at d.h.onCommitted ((index):196)&lt;BR /&gt;at g.k.onCommitted ((index):142)&lt;/P&gt;&lt;P&gt;It looks like a divide by zero error in the sunUtils computeDirectionsOverTime function, caused by a 0 value being passed as the 3rd parameter&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 05:16:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/shadow-cast-widget-bug/m-p/1120685#M75413</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2021-11-29T05:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Shadow Cast Widget Bug</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/shadow-cast-widget-bug/m-p/1125264#M75570</link>
      <description>&lt;P&gt;Looks like this has been resolved in the 4.22 release&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 00:24:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/shadow-cast-widget-bug/m-p/1125264#M75570</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2021-12-13T00:24:43Z</dc:date>
    </item>
  </channel>
</rss>

