<?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: DragEnabled using LayerList in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dragenabled-using-layerlist/m-p/1563216#M86149</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/507049"&gt;@Sage_Wall&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I just realized, thanks to your example, that it was referencing version 4.28 of the API. I updated it to 4.31, and it works perfectly.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/204821"&gt;@Antonio_Fraga&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Nov 2024 07:48:54 GMT</pubDate>
    <dc:creator>Antonio_Fraga</dc:creator>
    <dc:date>2024-11-28T07:48:54Z</dc:date>
    <item>
      <title>DragEnabled using LayerList</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dragenabled-using-layerlist/m-p/1562949#M86145</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I am trying to use `dragEnabled` with the `LayerList` widget and three `FeatureLayers`, but I cannot reorder my layers. Could someone provide me with a functional example of how to use it?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 08:31:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dragenabled-using-layerlist/m-p/1562949#M86145</guid>
      <dc:creator>Antonio_Fraga</dc:creator>
      <dc:date>2024-11-27T08:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: DragEnabled using LayerList</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dragenabled-using-layerlist/m-p/1562975#M86147</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/204821"&gt;@Antonio_Fraga&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If you are using the layer list component you can use the drag-enabled attribute like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;arcgis-layer-list drag-enabled position="top-right"&amp;gt;&amp;lt;/arcgis-layer-list&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;A href="https://codepen.io/sagewall/pen/raBNdxq" target="_blank"&gt;https://codepen.io/sagewall/pen/raBNdxq&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or if you are using the widget you set the dragEnabled property to true like so:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;          const layerList = new LayerList({
            dragEnabled: true,
            view: view
          });&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://codepen.io/sagewall/pen/vEBYRGN" target="_blank"&gt;https://codepen.io/sagewall/pen/vEBYRGN&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 12:19:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dragenabled-using-layerlist/m-p/1562975#M86147</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2024-11-27T12:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: DragEnabled using LayerList</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dragenabled-using-layerlist/m-p/1563216#M86149</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/507049"&gt;@Sage_Wall&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I just realized, thanks to your example, that it was referencing version 4.28 of the API. I updated it to 4.31, and it works perfectly.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/204821"&gt;@Antonio_Fraga&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 07:48:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dragenabled-using-layerlist/m-p/1563216#M86149</guid>
      <dc:creator>Antonio_Fraga</dc:creator>
      <dc:date>2024-11-28T07:48:54Z</dc:date>
    </item>
  </channel>
</rss>

