<?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: Multiple Features in Popup in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/multiple-features-in-popup/m-p/309980#M2756</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here are the steps to show multiple popups in a popups view controller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Adopt AGSMapViewTouchDelegate protocol and set self.mapView.touchDelegate = self.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Implement mapView:didClickAtPoint:mapPoint:graphics: method which provides all graphics at tap location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Loop through all graphics and create popup (AGSPopup) for each graphic with popupInfo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Store all AGSPopup objectes in an array.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. If you want to show popups from didClickCalloutAccessoryButtonForGraphic then use AGSPopupsContainerViewController's initWithPopups method to create popups view controller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Show/present view controller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2012 22:46:37 GMT</pubDate>
    <dc:creator>NimeshJarecha</dc:creator>
    <dc:date>2012-07-27T22:46:37Z</dc:date>
    <item>
      <title>Multiple Features in Popup</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/multiple-features-in-popup/m-p/309978#M2754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having trouble getting multiple feature to show up in my popup view controller.&amp;nbsp; I get creating the Mutable array for the popups but I am not sure where to populate it.&amp;nbsp; Whenever I click on the didClickCalloutAccessoryButtonForGraphic I only get the top graphic for the layer. I don't know if I am doing something wrong there or missing a method.&amp;nbsp; Any help would be greatly appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 21:42:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/multiple-features-in-popup/m-p/309978#M2754</guid>
      <dc:creator>JeffGiesler</dc:creator>
      <dc:date>2012-07-25T21:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Features in Popup</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/multiple-features-in-popup/m-p/309979#M2755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;SPAN style="color:&amp;quot;#40E0D0&amp;quot;;"&gt;I am having trouble getting multiple feature to show up in my popup view controller. I get creating the Mutable array for the popups but I am not sure where to populate it. &lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/runtime-ios-sdk/concepts/#/Displaying_Web_Map_Popups/00pw0000005n000000/" rel="nofollow"&gt;http://resources.arcgis.com/en/help/runtime-ios-sdk/concepts/#/Displaying_Web_Map_Popups/00pw0000005n000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the linked page above, I don't see the code for putting the AGSGraphics into an array. Are we supposed to get all the features on the map, put them into AGSGraphics objects, then put those into an array? Just a guess.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't get a response (you probably will), you might take a look at the samples.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 16:05:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/multiple-features-in-popup/m-p/309979#M2755</guid>
      <dc:creator>PaulLohr</dc:creator>
      <dc:date>2012-07-26T16:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Features in Popup</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/multiple-features-in-popup/m-p/309980#M2756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here are the steps to show multiple popups in a popups view controller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Adopt AGSMapViewTouchDelegate protocol and set self.mapView.touchDelegate = self.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Implement mapView:didClickAtPoint:mapPoint:graphics: method which provides all graphics at tap location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Loop through all graphics and create popup (AGSPopup) for each graphic with popupInfo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Store all AGSPopup objectes in an array.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. If you want to show popups from didClickCalloutAccessoryButtonForGraphic then use AGSPopupsContainerViewController's initWithPopups method to create popups view controller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Show/present view controller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 22:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/multiple-features-in-popup/m-p/309980#M2756</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-07-27T22:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Features in Popup</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/multiple-features-in-popup/m-p/309981#M2757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nimesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks very much for your help.&amp;nbsp; That answered my question perfectly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 18:47:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/multiple-features-in-popup/m-p/309981#M2757</guid>
      <dc:creator>JeffGiesler</dc:creator>
      <dc:date>2012-07-30T18:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Features in Popup</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/multiple-features-in-popup/m-p/309982#M2758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're welcome! Please mark thread as answered! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 21:17:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/multiple-features-in-popup/m-p/309982#M2758</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-07-30T21:17:11Z</dc:date>
    </item>
  </channel>
</rss>

