<?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 Re: Toggle 3D to 2D KO since v4.30 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-3d-to-2d-ko-since-v4-30/m-p/1523799#M85405</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/722064"&gt;@BenjaminLecuona&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for pointing out this issue! We'll have this fixed i&lt;SPAN&gt;n the upcoming release of the Maps SDK v4.31.&amp;nbsp; Meanwhile, if you want to test the fix before it heads to production, check out the&amp;nbsp;&lt;A href="https://github.com/Esri/feedback-js-api-next" target="_blank" rel="noopener nofollow noreferrer"&gt;development version&lt;/A&gt;&amp;nbsp;of the API:&amp;nbsp;&lt;A href="https://js.arcgis.com/next" target="_blank" rel="nofollow noopener noreferrer"&gt;https://js.arcgis.com/next&lt;/A&gt;&amp;nbsp;and please let us know if you have any feedback.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;A workaround for v4.30 is to avoid using the same layer for 2D and 3D, like in this copy of your app: &lt;A href="https://codepen.io/gsoosalu/pen/BagYYbx" target="_blank"&gt;https://codepen.io/gsoosalu/pen/BagYYbx&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2024 15:02:30 GMT</pubDate>
    <dc:creator>GreteSoosalu</dc:creator>
    <dc:date>2024-08-19T15:02:30Z</dc:date>
    <item>
      <title>Toggle 3D to 2D KO since v4.30</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-3d-to-2d-ko-since-v4-30/m-p/1517408#M85270</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;Since upgrade to last version of ArcGIS Maps SDK (v4.30), I am unable to switch back from 3D to 2D, obtaining error log &lt;EM&gt;"Uncaught TypeError: Cannot read properties of null (reading 'symbologySnappingSupported')"&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;Here is a sample code reproducing my issue (&lt;A href="https://codepen.io/blecuona/pen/OJejdoe?editors=1011" target="_self"&gt;https://codepen.io/blecuona/pen/OJejdoe?editors=1011&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;Differences with Esri sample code ([&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/views-switch-2d-3d/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/views-switch-2d-3d/&lt;/A&gt;](&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/views-switch-2d-3d/" target="_self"&gt;https://developers.arcgis.com/javascript/latest/sample-code/views-switch-2d-3d/&lt;/A&gt;)) which perfectly works are:&lt;BR /&gt;1. There is a layer on map&lt;BR /&gt;2. This layer is shared between mapView and sceneView&lt;BR /&gt;3. A measurement widget is set on map&lt;BR /&gt;4. This layer's renderer is reset on mapMode change (2D - 3D)&lt;/P&gt;&lt;P&gt;After many checks, renderer update (difference 4) while measurement widget is opened (difference 3) is responsible of the bug.&lt;/P&gt;&lt;P&gt;Is there any solution keeping this code logic? Or should I stay with ArcGIS Maps SDK v4.39?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 12:37:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-3d-to-2d-ko-since-v4-30/m-p/1517408#M85270</guid>
      <dc:creator>BenjaminLecuona</dc:creator>
      <dc:date>2024-08-09T12:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle 3D to 2D KO since v4.30</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-3d-to-2d-ko-since-v4-30/m-p/1523799#M85405</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/722064"&gt;@BenjaminLecuona&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for pointing out this issue! We'll have this fixed i&lt;SPAN&gt;n the upcoming release of the Maps SDK v4.31.&amp;nbsp; Meanwhile, if you want to test the fix before it heads to production, check out the&amp;nbsp;&lt;A href="https://github.com/Esri/feedback-js-api-next" target="_blank" rel="noopener nofollow noreferrer"&gt;development version&lt;/A&gt;&amp;nbsp;of the API:&amp;nbsp;&lt;A href="https://js.arcgis.com/next" target="_blank" rel="nofollow noopener noreferrer"&gt;https://js.arcgis.com/next&lt;/A&gt;&amp;nbsp;and please let us know if you have any feedback.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;A workaround for v4.30 is to avoid using the same layer for 2D and 3D, like in this copy of your app: &lt;A href="https://codepen.io/gsoosalu/pen/BagYYbx" target="_blank"&gt;https://codepen.io/gsoosalu/pen/BagYYbx&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 15:02:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-3d-to-2d-ko-since-v4-30/m-p/1523799#M85405</guid>
      <dc:creator>GreteSoosalu</dc:creator>
      <dc:date>2024-08-19T15:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle 3D to 2D KO since v4.30</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-3d-to-2d-ko-since-v4-30/m-p/1526964#M85492</link>
      <description>&lt;P&gt;Thanks for your reply. I can confirm the fix is ok!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 07:58:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-3d-to-2d-ko-since-v4-30/m-p/1526964#M85492</guid>
      <dc:creator>BenjaminLecuona</dc:creator>
      <dc:date>2024-08-26T07:58:45Z</dc:date>
    </item>
  </channel>
</rss>

