<?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: layerIds or _layers ?  I'm missing something in the management layers. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layerids-or-layers-nbsp-i-m-missing-something-in/m-p/197090#M18258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay i found my mistake. My layers are in the graphicLayerId array because they are feature's type layer. If i use Dynamic layer or Tiled it's working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So i think i need to read some details on feature service to understand well why i can not use map.getLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I let my message if that can help somebody.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Jun 2014 16:29:24 GMT</pubDate>
    <dc:creator>JulienPETAUX</dc:creator>
    <dc:date>2014-06-08T16:29:24Z</dc:date>
    <item>
      <title>layerIds or _layers ?  I'm missing something in the management layers.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layerids-or-layers-nbsp-i-m-missing-something-in/m-p/197089#M18257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use a piece of code that loops through a configuration file and create layers according to their type. Then all the layers and add to the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It works without any problem layers appear correctly on the map, but after when I want to loop over layerId I can not find my layers. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I put two screenshots to show in debug mode content. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;this.map.layerId is empty : &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]34434[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;this.map._layers contains my layers :&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]34435[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Someone has an answer or perhaps has already across this problem ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code is an extract of the great customizable viewer of David Spriggs here: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/DavidSpriggs/ConfigurableViewerJSAPI"&gt;https://github.com/DavidSpriggs/ConfigurableViewerJSAPI&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jun 2014 15:37:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layerids-or-layers-nbsp-i-m-missing-something-in/m-p/197089#M18257</guid>
      <dc:creator>JulienPETAUX</dc:creator>
      <dc:date>2014-06-08T15:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: layerIds or _layers ?  I'm missing something in the management layers.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layerids-or-layers-nbsp-i-m-missing-something-in/m-p/197090#M18258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay i found my mistake. My layers are in the graphicLayerId array because they are feature's type layer. If i use Dynamic layer or Tiled it's working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So i think i need to read some details on feature service to understand well why i can not use map.getLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I let my message if that can help somebody.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jun 2014 16:29:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layerids-or-layers-nbsp-i-m-missing-something-in/m-p/197090#M18258</guid>
      <dc:creator>JulienPETAUX</dc:creator>
      <dc:date>2014-06-08T16:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: layerIds or _layers ?  I'm missing something in the management layers.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layerids-or-layers-nbsp-i-m-missing-something-in/m-p/197091#M18259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for posting. I ran across this post when I was trying to figure out why my feature layers were not listed in layerIDs. Just in case anyone else lands here for the same reason, it should be noted that feature layers (and other "graphic layers") will be listed in&amp;nbsp;graphicsLayerIds.&amp;nbsp; Your previous post spelled that as "&lt;SPAN style="background-color: #ffffff;"&gt;graphicLayerId" and it didn't work when I pasted that word into my code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks again for posting that follow up.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2019 18:21:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layerids-or-layers-nbsp-i-m-missing-something-in/m-p/197091#M18259</guid>
      <dc:creator>KnoxvilleRegional</dc:creator>
      <dc:date>2019-03-04T18:21:41Z</dc:date>
    </item>
  </channel>
</rss>

