<?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 More than 9 layer list group layers breaks Elevation Profile widget in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/more-than-9-layer-list-group-layers-breaks/m-p/1281940#M80944</link>
    <description>&lt;P&gt;Just ran into something strange today using Maps SDK 4.26&lt;/P&gt;&lt;P&gt;I am using the layerlist/legend widget&amp;nbsp; and when I add more than 9 group layers to the map it breaks the elevation profile widget only to the point the ground layer isnt being read.&lt;/P&gt;&lt;P&gt;Anyone else experience this behavior?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Apr 2023 17:21:55 GMT</pubDate>
    <dc:creator>Key</dc:creator>
    <dc:date>2023-04-24T17:21:55Z</dc:date>
    <item>
      <title>More than 9 layer list group layers breaks Elevation Profile widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/more-than-9-layer-list-group-layers-breaks/m-p/1281940#M80944</link>
      <description>&lt;P&gt;Just ran into something strange today using Maps SDK 4.26&lt;/P&gt;&lt;P&gt;I am using the layerlist/legend widget&amp;nbsp; and when I add more than 9 group layers to the map it breaks the elevation profile widget only to the point the ground layer isnt being read.&lt;/P&gt;&lt;P&gt;Anyone else experience this behavior?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 17:21:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/more-than-9-layer-list-group-layers-breaks/m-p/1281940#M80944</guid>
      <dc:creator>Key</dc:creator>
      <dc:date>2023-04-24T17:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: More than 9 layer list group layers breaks Elevation Profile widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/more-than-9-layer-list-group-layers-breaks/m-p/1341041#M82541</link>
      <description>&lt;P&gt;Key,&lt;/P&gt;&lt;P&gt;I was having the same issue.&amp;nbsp; I didn't realize that it was a group layer issue until I found your post.&amp;nbsp; I did some experimenting and discovered that this issue started with the 4.22 release of the SDK.&amp;nbsp; I substituted different webmaps with or without group layers and the behavior definitely changes.&amp;nbsp; It works at 4.21, but not at 4.22.&lt;/P&gt;&lt;P&gt;I did a workaround instead of setting the ground to world-elevation that works.&amp;nbsp; Here is the code:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;    const elevationWidget = new ElevationProfile({
        view: view,
        profiles: [{type: "query",
            source: new ElevationLayer({url: "https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer"}),
            color: "orange",
            title: "Ground elevation"}],
        visibleElements: {selectButton: false},
        unit: "feet",
        container: "elevation-container"
    });&lt;/LI-CODE&gt;&lt;P&gt;This works with the group layers and should resolve your issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 17:45:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/more-than-9-layer-list-group-layers-breaks/m-p/1341041#M82541</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2023-10-24T17:45:24Z</dc:date>
    </item>
  </channel>
</rss>

