<?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 does the mapView determines which graphic is selected to display callout? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-the-mapview-determines-which-graphic-is/m-p/442731#M3791</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Paul, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The graphics are not added as a result of query. They are added one by one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Somehow the graphic with point geometry is overwhelmed by the underlying graphic with polygon geometry. I have two versions of application for 2.0 &amp;amp; 2.1 SDK&amp;nbsp; and the former is working fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2012 03:33:08 GMT</pubDate>
    <dc:creator>AnoopMohandas</dc:creator>
    <dc:date>2012-01-05T03:33:08Z</dc:date>
    <item>
      <title>How does the mapView determines which graphic is selected to display callout?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-the-mapview-determines-which-graphic-is/m-p/442729#M3789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How does the mapView determines which graphic is selected when the graphics added intersects each other? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to override this selection. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Till SDK 2.0.1 the callout of topmost graphic was shown. But with SDK 2.1 callout for underneath graphic is being shown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to revert back to the earlier behavior.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be appreciated&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 03:58:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-the-mapview-determines-which-graphic-is/m-p/442729#M3789</guid>
      <dc:creator>AnoopMohandas</dc:creator>
      <dc:date>2012-01-04T03:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: How does the mapView determines which graphic is selected to display callout?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-the-mapview-determines-which-graphic-is/m-p/442730#M3790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure how to do what you are asking. What about putting the AGSGraphics into their AGSGraphicsLayer in reverse order? Of course this could be a problem if the AGSGraphics are the result of a query.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 16:46:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-the-mapview-determines-which-graphic-is/m-p/442730#M3790</guid>
      <dc:creator>PaulLohr</dc:creator>
      <dc:date>2012-01-04T16:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: How does the mapView determines which graphic is selected to display callout?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-the-mapview-determines-which-graphic-is/m-p/442731#M3791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Paul, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The graphics are not added as a result of query. They are added one by one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Somehow the graphic with point geometry is overwhelmed by the underlying graphic with polygon geometry. I have two versions of application for 2.0 &amp;amp; 2.1 SDK&amp;nbsp; and the former is working fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 03:33:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-the-mapview-determines-which-graphic-is/m-p/442731#M3791</guid>
      <dc:creator>AnoopMohandas</dc:creator>
      <dc:date>2012-01-05T03:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: How does the mapView determines which graphic is selected to display callout?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-the-mapview-determines-which-graphic-is/m-p/442732#M3792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So you have:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-an AGSGraphicsLayer with points&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-an AGSGraphicsLayer with polygons&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this is the case, does the order in which the layers are added to the AGSMapView affect which layer responds to a tap when a polygon intersects a point?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I am suggesting things that you have already tried.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul Lohr&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 11:16:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-the-mapview-determines-which-graphic-is/m-p/442732#M3792</guid>
      <dc:creator>PaulLohr</dc:creator>
      <dc:date>2012-01-05T11:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: How does the mapView determines which graphic is selected to display callout?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-the-mapview-determines-which-graphic-is/m-p/442733#M3793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;App has a single graphics Layer maintained as the top most layer if sketch layer is not added.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I found that the graphics are added in the correct order, even then the callout being shown is wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone with insight of the internal logic for selection of graphics, please share the info &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anoop&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 09:58:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-the-mapview-determines-which-graphic-is/m-p/442733#M3793</guid>
      <dc:creator>AnoopMohandas</dc:creator>
      <dc:date>2012-01-09T09:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: How does the mapView determines which graphic is selected to display callout?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-the-mapview-determines-which-graphic-is/m-p/442734#M3794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If there are multiple graphics at tap location then it finds the closest (distance) one and shows the callout. Earlier (before v2.1) it used to show the callout for the first graphic from the graphics found at tap location.&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>Tue, 10 Jan 2012 20:20:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-the-mapview-determines-which-graphic-is/m-p/442734#M3794</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-01-10T20:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: How does the mapView determines which graphic is selected to display callout?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-the-mapview-determines-which-graphic-is/m-p/442735#M3795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Nimesh. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you mention the significance of this change? And also where can I override the selection of graphic? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The closest one seemed to be implementing mapView:didClickAtPoint:mapPoint:graphics method of AGSMapViewTouchDelegate. Process the touch event, find out the which graphics should be shown. And show the callout by showCalloutAtPoint:forGraphic:animated method. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anoop&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2012 04:16:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-the-mapview-determines-which-graphic-is/m-p/442735#M3795</guid>
      <dc:creator>AnoopMohandas</dc:creator>
      <dc:date>2012-01-11T04:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: How does the mapView determines which graphic is selected to display callout?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-the-mapview-determines-which-graphic-is/m-p/442736#M3796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When there are multiple graphics found at tap location then showing callout at first graphic is not correct. Logically it has to be the closest from the tap location. This is the significance of the change. You are on a right track as far as how to show callout on desired graphic.&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, 16 Jan 2012 20:26:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-the-mapview-determines-which-graphic-is/m-p/442736#M3796</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-01-16T20:26:40Z</dc:date>
    </item>
  </channel>
</rss>

