<?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>idea Change layer order in LayerList without changing drawing order in the mapview in ArcGIS JavaScript Maps SDK Ideas</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/change-layer-order-in-layerlist-without-changing/idi-p/1333563</link>
    <description>&lt;P&gt;Is it possible to change the layer order in the LayerList widget without changing the drawing order in the mapview?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using the layerList.viewModel.moveListItem() method, but the mapview is updated to reflect the layerList order.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: JS api 4.x&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2023 20:04:58 GMT</pubDate>
    <dc:creator>Nicolas_</dc:creator>
    <dc:date>2023-09-28T20:04:58Z</dc:date>
    <item>
      <title>Change layer order in LayerList without changing drawing order in the mapview</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/change-layer-order-in-layerlist-without-changing/idi-p/1333563</link>
      <description>&lt;P&gt;Is it possible to change the layer order in the LayerList widget without changing the drawing order in the mapview?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using the layerList.viewModel.moveListItem() method, but the mapview is updated to reflect the layerList order.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: JS api 4.x&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 20:04:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/change-layer-order-in-layerlist-without-changing/idi-p/1333563</guid>
      <dc:creator>Nicolas_</dc:creator>
      <dc:date>2023-09-28T20:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Change layer order in LayerList without changing drawing order in the mapview</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/change-layer-order-in-layerlist-without-changing/idc-p/1333590#M285</link>
      <description>&lt;P&gt;The LayerList is designed to reflect the order of the layers in the map.&amp;nbsp; In part for when `selectionEnabled` is true users can modify the layer order in the map.&amp;nbsp; I'm curious as to your use case for having them be different?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 20:54:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/change-layer-order-in-layerlist-without-changing/idc-p/1333590#M285</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2023-09-28T20:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Change layer order in LayerList without changing drawing order in the mapview</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/change-layer-order-in-layerlist-without-changing/idc-p/1333714#M286</link>
      <description>&lt;P&gt;I use the layerList with selection disabled.&lt;/P&gt;&lt;P&gt;Here is my use case. I have my layers ordered like so:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Basemap reference layers&lt;/LI&gt;&lt;LI&gt;Point feature layer 1&lt;/LI&gt;&lt;LI&gt;Point feature layer 2&lt;/LI&gt;&lt;LI&gt;..&lt;/LI&gt;&lt;LI&gt;"reference layers" for my imagery layers (Hidden)&lt;/LI&gt;&lt;LI&gt;Imagery layer 1&lt;/LI&gt;&lt;LI&gt;Imagery layer 2&lt;/LI&gt;&lt;LI&gt;..&lt;/LI&gt;&lt;LI&gt;Basemap&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This way, I can display a map like this, with a hidden water layer over my imagery layers:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nicolas__0-1695991947357.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/81983i92B2B13CE03ABAD7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nicolas__0-1695991947357.png" alt="Nicolas__0-1695991947357.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This work great, but I woud like to be able to group "Point feature layer 1" with Imagery layer 1" and so on because they are actually related. But If I do that, I end up with my Point layers hidden behind the water features:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nicolas__1-1695992182093.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/81984iC9F9730086B84051/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nicolas__1-1695992182093.png" alt="Nicolas__1-1695992182093.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe there is a way to unsuscribe to some kind of layerList layerMoved event?. Else I might have to directly modify the DOM.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 12:59:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/change-layer-order-in-layerlist-without-changing/idc-p/1333714#M286</guid>
      <dc:creator>Nicolas_</dc:creator>
      <dc:date>2023-09-29T12:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change layer order in LayerList without changing drawing order in the mapview</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/change-layer-order-in-layerlist-without-changing/idc-p/1333813#M287</link>
      <description>&lt;P&gt;Sorry&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/575668"&gt;@Nicolas_&lt;/a&gt;&amp;nbsp;there isn't anything currently in the API for this, but I think it's a valid use case.&amp;nbsp; I'd like to move this over to ArcGIS Ideas because it could be a great future addition to the JavaScript Maps SDK.&amp;nbsp; The best possible workaround I can see is to duplicate the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#listMode" target="_self"&gt;hidden&lt;/A&gt; water layer into each imagery + point group layer, but it's less than ideal to have to add multiple copies of the same layer.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 17:05:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/change-layer-order-in-layerlist-without-changing/idc-p/1333813#M287</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2023-09-29T17:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Change layer order in LayerList without changing drawing order in the mapview</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/change-layer-order-in-layerlist-without-changing/idc-p/1334112#M289</link>
      <description>&lt;P&gt;Understood.&lt;/P&gt;&lt;P&gt;Thank you for moving this to ArcGIS Ideas. I will keep an eye on futur API releases.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 13:26:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/change-layer-order-in-layerlist-without-changing/idc-p/1334112#M289</guid>
      <dc:creator>Nicolas_</dc:creator>
      <dc:date>2023-10-02T13:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Change layer order in LayerList without changing drawing order in the mapview</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/change-layer-order-in-layerlist-without-changing/idc-p/1343116#M292</link>
      <description>&lt;P&gt;I wrote my own layer list mimicking the behavior of the original, except it uses locally predefined definition expressions&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2023 14:16:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/change-layer-order-in-layerlist-without-changing/idc-p/1343116#M292</guid>
      <dc:creator>AddisonShaw</dc:creator>
      <dc:date>2023-10-29T14:16:50Z</dc:date>
    </item>
  </channel>
</rss>

