<?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: How do I show features from Multiple FeatureLayers in Popup in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-show-features-from-multiple-featurelayers/m-p/338623#M31329</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not using strictly featureLayers, but the logic should still be the same. Since I am using a TOC, the user has control of the visibility and&amp;nbsp; the identifyTask and identifyParameters have to be responsive to that.&amp;nbsp; Depending on what is currently turned on, the identify will show a popup window with the contents.&amp;nbsp; It managed multiple services and a variety of different outFields.&amp;nbsp; I'm managing those by defining an array for each layer at the top and then generating the infoContent on the fly.&amp;nbsp; Assuming you're using something like Firebug in Firefox you should be able to see my code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://ogi.oa.mo.gov/LEGIS/LegislativeDistrict/index.html"&gt;https://ogi.oa.mo.gov/LEGIS/LegislativeDistrict/index.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Apr 2014 12:31:38 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2014-04-18T12:31:38Z</dc:date>
    <item>
      <title>How do I show features from Multiple FeatureLayers in Popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-show-features-from-multiple-featurelayers/m-p/338621#M31327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am creating a map that has overlapping polygons from multiple FeatureLayers and I want the user to be able to cycle through all features clicked in the popup window (i.e. 1 of 2, 2 of 2, etc.).&amp;nbsp; For example, when I click on a city, I would like to see the info for that city and then cycle to see the info for the County that contains it.&amp;nbsp; See my example code attached.&amp;nbsp; What am I missing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 13:10:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-show-features-from-multiple-featurelayers/m-p/338621#M31327</guid>
      <dc:creator>NickKouloungis</dc:creator>
      <dc:date>2014-03-21T13:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show features from Multiple FeatureLayers in Popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-show-features-from-multiple-featurelayers/m-p/338622#M31328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am creating a map that has overlapping polygons from multiple FeatureLayers and I want the user to be able to cycle through all features clicked in the popup window (i.e. 1 of 2, 2 of 2, etc.).&amp;nbsp; For example, when I click on a city, I would like to see the info for that city and then cycle to see the info for the County that contains it.&amp;nbsp; See my example code attached.&amp;nbsp; What am I missing?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are some examples, which also discuss visibility and dealing with multiple services&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://jsfiddle.net/URpaW/"&gt;http://jsfiddle.net/URpaW/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://jsfiddle.net/kenbuja/nvNQw/"&gt;http://jsfiddle.net/kenbuja/nvNQw/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/83899-Paging-results-in-Popup-class-in-JS-API-3.4?p=295993&amp;amp;posted=1#post295993"&gt;http://forums.arcgis.com/threads/83899-Paging-results-in-Popup-class-in-JS-API-3.4?p=295993&amp;amp;posted=1#post295993&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/52543-NLiu-s-Table-of-Contents%28TOC%29-Legend-widget-and-Visibility-States?p=291707#post291707"&gt;http://forums.arcgis.com/threads/52543-NLiu-s-Table-of-Contents%28TOC%29-Legend-widget-and-Visibility-States?p=291707#post291707&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I still haven't gotten a working multiple services identify but for now the logic from the second fiddle above works fine after I put everything in one service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 11:30:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-show-features-from-multiple-featurelayers/m-p/338622#M31328</guid>
      <dc:creator>KevinMacLeod1</dc:creator>
      <dc:date>2014-03-25T11:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show features from Multiple FeatureLayers in Popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-show-features-from-multiple-featurelayers/m-p/338623#M31329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not using strictly featureLayers, but the logic should still be the same. Since I am using a TOC, the user has control of the visibility and&amp;nbsp; the identifyTask and identifyParameters have to be responsive to that.&amp;nbsp; Depending on what is currently turned on, the identify will show a popup window with the contents.&amp;nbsp; It managed multiple services and a variety of different outFields.&amp;nbsp; I'm managing those by defining an array for each layer at the top and then generating the infoContent on the fly.&amp;nbsp; Assuming you're using something like Firebug in Firefox you should be able to see my code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://ogi.oa.mo.gov/LEGIS/LegislativeDistrict/index.html"&gt;https://ogi.oa.mo.gov/LEGIS/LegislativeDistrict/index.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 12:31:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-show-features-from-multiple-featurelayers/m-p/338623#M31329</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2014-04-18T12:31:38Z</dc:date>
    </item>
  </channel>
</rss>

