<?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: add more than two sub-layers with MapImageLayer version 4.12? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-more-than-two-sub-layers-with-mapimagelayer/m-p/760634#M70513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't forget to mark this question as answered by clicking on the "Mark Correct" link on the reply that answered your question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Oct 2019 14:25:14 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2019-10-18T14:25:14Z</dc:date>
    <item>
      <title>add more than two sub-layers with MapImageLayer version 4.12?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-more-than-two-sub-layers-with-mapimagelayer/m-p/760631#M70510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Layers = new MapImageLayer({&lt;BR /&gt; url:"http://0.0.0.0:6080/arcgis/rest/services/VISOR/MapServer",&lt;BR /&gt; sublayers:[&lt;BR /&gt; {&lt;BR /&gt; id: 2,&lt;BR /&gt; visible:true&lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; id: 8,&lt;BR /&gt; visible: true&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this works fine but when add 1 more id layer stop working,&amp;nbsp;I'm based on this example &lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/layers-mapimagelayer-sublayers/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/layers-mapimagelayer-sublayers/index.html"&gt;MapImageLayer - Toggle sublayer visibility | ArcGIS API for JavaScript 4.13&lt;/A&gt;&amp;nbsp;, but I don't think it works very well either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 13:36:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-more-than-two-sub-layers-with-mapimagelayer/m-p/760631#M70510</guid>
      <dc:creator>UlisesTabares</dc:creator>
      <dc:date>2019-10-18T13:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: add more than two sub-layers with MapImageLayer version 4.12?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-more-than-two-sub-layers-with-mapimagelayer/m-p/760632#M70511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ulises,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Change the sublayers array to descending order (i.e. 8 then 2) and it will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 14:00:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-more-than-two-sub-layers-with-mapimagelayer/m-p/760632#M70511</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-10-18T14:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: add more than two sub-layers with MapImageLayer version 4.12?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-more-than-two-sub-layers-with-mapimagelayer/m-p/760633#M70512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 14:19:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-more-than-two-sub-layers-with-mapimagelayer/m-p/760633#M70512</guid>
      <dc:creator>UlisesTabares</dc:creator>
      <dc:date>2019-10-18T14:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: add more than two sub-layers with MapImageLayer version 4.12?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-more-than-two-sub-layers-with-mapimagelayer/m-p/760634#M70513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't forget to mark this question as answered by clicking on the "Mark Correct" link on the reply that answered your question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 14:25:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-more-than-two-sub-layers-with-mapimagelayer/m-p/760634#M70513</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-10-18T14:25:14Z</dc:date>
    </item>
  </channel>
</rss>

