<?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: Feature layers displaying in wrong order in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/feature-layers-displaying-in-wrong-order/m-p/46809#M1318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jugal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; can you make your web map public for a short time, where I can help you with this issue and not have to spend time trying to recreate some data that looks like yours to test with?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Apr 2016 23:42:35 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-04-16T23:42:35Z</dc:date>
    <item>
      <title>Feature layers displaying in wrong order</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/feature-layers-displaying-in-wrong-order/m-p/46808#M1317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hey there!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;So I'm using the JavaScript API to customize an ArcGIS web app and I'm having an issue with my labels layer showing up behind my feature layer. I've tried to change the order of them in the layer list but the labels are still showing up behind my feature layers. Does anyone know how I can get this fixed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Here's a screenshot of what I'm referring to: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;IMG __jive_id="194925" alt="layers not reversed.png" class="image-1 jive-image" src="/legacyfs/online/194925_layers not reversed.png" style="width: 620px; height: 435px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;And this is the layer list widget.js code sample for the screenshot above: &lt;A href="https://gist.github.com/jugalpatel803/fa33acba37056989306074e6b8693cdf" title="https://gist.github.com/jugalpatel803/fa33acba37056989306074e6b8693cdf"&gt;Grouped layers w/ layers not reversed · GitHub&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Here's the screenshot for when I tried to reorder the layers in the layer list, this time the labels are on top in the layer list: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;IMG __jive_id="194926" alt="layers reversed.png" class="image-2 jive-image" src="/legacyfs/online/194926_layers reversed.png" style="width: 620px; height: 519px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;And here's the layer list code sample for the second screenshot (w/ lines 35-37 uncommented): &lt;A href="https://gist.github.com/jugalpatel803/7d15202a8a931463fd842f57360ed666" title="https://gist.github.com/jugalpatel803/7d15202a8a931463fd842f57360ed666"&gt;Grouped layers w/ layers reversed · GitHub&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 17:26:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/feature-layers-displaying-in-wrong-order/m-p/46808#M1317</guid>
      <dc:creator>JugalPatel</dc:creator>
      <dc:date>2016-04-15T17:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Feature layers displaying in wrong order</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/feature-layers-displaying-in-wrong-order/m-p/46809#M1318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jugal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; can you make your web map public for a short time, where I can help you with this issue and not have to spend time trying to recreate some data that looks like yours to test with?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Apr 2016 23:42:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/feature-layers-displaying-in-wrong-order/m-p/46809#M1318</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-16T23:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Feature layers displaying in wrong order</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/feature-layers-displaying-in-wrong-order/m-p/46810#M1319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I'm not sure that I can make the web map public but I can give you more details. Initially, I had the labels layers disabled on my web map. I just tried enabling them in the web map and when I looked at the app after, the labels were correctly displaying on top. However, when you click on the layer list icon, the labels show up on bottom again. Also, the layers in the layer list were initially displayed with the "Third Floor" layer on top of "Third Floor - Labels" layer so I tried using firstFloorLayers.reverse(); secondFloorLayers.reverse(); thirdFloorLayers.reverse();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the reverse method applied, the layers are now displayed as what you see in the second screenshot below, although the ordering of the feature layers are still wrong. Here are screenshots of what I'm referring to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before clicking on layer list icon:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="195035" alt="beforelayerlistopen.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/195035_beforelayerlistopen.png" style="width: 620px; height: 481px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After clicking on layer list icon:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="195036" alt="afterlayerlistopen.png" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/195036_afterlayerlistopen.png" style="width: 620px; height: 356px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's another of the DOM before clicking the layer list icon:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="195037" alt="consolebeforelayerlist.png" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/195037_consolebeforelayerlist.png" style="width: 620px; height: 395px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this is the DOM after clicking it:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="195038" alt="consoleafterlayerlist.png" class="image-4 jive-image" src="https://community.esri.com/legacyfs/online/195038_consoleafterlayerlist.png" style="width: 620px; height: 366px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I took to the labels layer and dragged it down in the DOM to below the layers for the other floors and everything is working now. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="labelsmoved.png" class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/195039_labelsmoved.png" style="width: 620px; height: 390px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how I can get this done in the widget.js code? Let me know what your thoughts are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 19:42:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/feature-layers-displaying-in-wrong-order/m-p/46810#M1319</guid>
      <dc:creator>JugalPatel</dc:creator>
      <dc:date>2016-04-18T19:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Feature layers displaying in wrong order</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/feature-layers-displaying-in-wrong-order/m-p/46811#M1320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know you have invested time into this widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is how I handled your situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the layer list and then added a definition query.&lt;/P&gt;&lt;P&gt;I used it for interior mapping multiple floors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was written for an early WAB and has not been updated.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/daFiter/localLayer_filter" title="https://github.com/daFiter/localLayer_filter"&gt;GitHub - daFiter/localLayer_filter: Esri Web AppBuilder filter Widget&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/195044_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 20:12:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/feature-layers-displaying-in-wrong-order/m-p/46811#M1320</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2016-04-18T20:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Feature layers displaying in wrong order</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/feature-layers-displaying-in-wrong-order/m-p/46812#M1321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jugal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sorry I do not have the time to duplicate your environment so If you can not share your web map then I will not be able to assist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 13:40:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/feature-layers-displaying-in-wrong-order/m-p/46812#M1321</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-19T13:40:57Z</dc:date>
    </item>
  </channel>
</rss>

