<?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 drawing order of layers in map view needs to be A) independent from order of layers in legend and B) manually controllable in ArcGIS JavaScript Maps SDK Ideas</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/drawing-order-of-layers-in-map-view-needs-to-be-a/idi-p/1199893</link>
    <description>&lt;P&gt;We're migrating our webmap from 3.x to 4.x.&lt;/P&gt;&lt;P&gt;On the current webmap, there are several layers which need to be thematically ordered in the legend/layerlist. (We don't need to order sublayers nor features.) Furthermore, t&lt;SPAN&gt;here are some layers with higher importance than others, which need to be placed above (or below) other layers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, the drawing order of these layers on the map&amp;nbsp;&lt;SPAN&gt;needs to fit cartographic and other needs. One of the cartographic principles is "polygon under lines under points". Furthermore, there are user-interactions with these layers. Layers which were last active need to be places above other layers (within the same geometry-type, e.g. offer A (a line, clicked on) needs to be above offer B (another line, not clicked on)).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Summarised, we need ot be able to manually and individually control the order of the layers in the map independently from the order of the layers in the legend. The 3.x version used an index - that would be fine by us.&amp;nbsp;&lt;/P&gt;&lt;P&gt;codepen visualising some of the layers without any interaction:&amp;nbsp;&lt;A href="https://codepen.io/nwp_nadja_bernhard/pen/OJvOQdp?editors=0011" target="_blank" rel="noopener nofollow noreferrer"&gt;https://codepen.io/nwp_nadja_bernhard/pen/OJvOQdp?editors=0011&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Aug 2022 15:57:56 GMT</pubDate>
    <dc:creator>nadja</dc:creator>
    <dc:date>2022-08-05T15:57:56Z</dc:date>
    <item>
      <title>drawing order of layers in map view needs to be A) independent from order of layers in legend and B) manually controllable</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/drawing-order-of-layers-in-map-view-needs-to-be-a/idi-p/1199893</link>
      <description>&lt;P&gt;We're migrating our webmap from 3.x to 4.x.&lt;/P&gt;&lt;P&gt;On the current webmap, there are several layers which need to be thematically ordered in the legend/layerlist. (We don't need to order sublayers nor features.) Furthermore, t&lt;SPAN&gt;here are some layers with higher importance than others, which need to be placed above (or below) other layers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, the drawing order of these layers on the map&amp;nbsp;&lt;SPAN&gt;needs to fit cartographic and other needs. One of the cartographic principles is "polygon under lines under points". Furthermore, there are user-interactions with these layers. Layers which were last active need to be places above other layers (within the same geometry-type, e.g. offer A (a line, clicked on) needs to be above offer B (another line, not clicked on)).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Summarised, we need ot be able to manually and individually control the order of the layers in the map independently from the order of the layers in the legend. The 3.x version used an index - that would be fine by us.&amp;nbsp;&lt;/P&gt;&lt;P&gt;codepen visualising some of the layers without any interaction:&amp;nbsp;&lt;A href="https://codepen.io/nwp_nadja_bernhard/pen/OJvOQdp?editors=0011" target="_blank" rel="noopener nofollow noreferrer"&gt;https://codepen.io/nwp_nadja_bernhard/pen/OJvOQdp?editors=0011&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 15:57:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/drawing-order-of-layers-in-map-view-needs-to-be-a/idi-p/1199893</guid>
      <dc:creator>nadja</dc:creator>
      <dc:date>2022-08-05T15:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: drawing order of layers in map view needs to be A) independent from order of layers in legend and B) manually controllable</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/drawing-order-of-layers-in-map-view-needs-to-be-a/idc-p/1199957#M159</link>
      <description>&lt;P&gt;As already pointed out in &lt;A href="https://community.esri.com/t5/arcgis-api-for-javascript-questions/order-layers-in-map-and-independently-in-legend/m-p/1198610/highlight/true#M78150" target="_self"&gt;another thread&lt;/A&gt;, the layer order in the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html" target="_self"&gt;Legend&lt;/A&gt; is going to match the layer order of the map.&amp;nbsp; Therefore, if you're going to accomplish what you've described, you're going to have to use more than one Legend control.&amp;nbsp; In our framework, we create a Legend for each individual layer, and are then free to display those individual Legends in whatever order we see fit.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 17:34:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/drawing-order-of-layers-in-map-view-needs-to-be-a/idc-p/1199957#M159</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2022-08-05T17:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: drawing order of layers in map view needs to be A) independent from order of layers in legend and B) manually controllable</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/drawing-order-of-layers-in-map-view-needs-to-be-a/idc-p/1199964#M160</link>
      <description>&lt;P&gt;My apologies...didn't realize this was in the ideas section.&amp;nbsp; Hope my reply helps though...&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 17:45:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/drawing-order-of-layers-in-map-view-needs-to-be-a/idc-p/1199964#M160</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2022-08-05T17:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: drawing order of layers in map view needs to be A) independent from order of layers in legend and B) manually controllable</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/drawing-order-of-layers-in-map-view-needs-to-be-a/idc-p/1286660#M257</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/6522"&gt;@JoelBennett&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had hoped that it might be possible now with the layerlist. Unfortunately it is still not possible to order the items in the layerlist independently from the order in the map, which is more than unfortunate for the thematic use of our map. You wrote that for each layer an individual legend could be created and those could be ordered as we please. could you please elaborate on that? I'm not sure if I grasp your idea correctly.&lt;/P&gt;&lt;P&gt;thank you in advance for your reply.&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 12:00:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/drawing-order-of-layers-in-map-view-needs-to-be-a/idc-p/1286660#M257</guid>
      <dc:creator>swiss_parks_network_nbernhard</dc:creator>
      <dc:date>2023-05-08T12:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: drawing order of layers in map view needs to be A) independent from order of layers in legend and B) manually controllable</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/drawing-order-of-layers-in-map-view-needs-to-be-a/idc-p/1353147#M302</link>
      <description>&lt;P&gt;I posted an idea related to yours here:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/change-layer-order-in-layerlist-without-changing/idi-p/1333563" target="_blank"&gt;Change layer order in LayerList without changing d... - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 13:41:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/drawing-order-of-layers-in-map-view-needs-to-be-a/idc-p/1353147#M302</guid>
      <dc:creator>Nicolas_</dc:creator>
      <dc:date>2023-11-24T13:41:52Z</dc:date>
    </item>
  </channel>
</rss>

