<?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 to get graphics from feature layer. in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-get-graphics-from-feature-layer/m-p/32633#M251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This has changed. Now you first have to get the ids of the graphics:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;int[] ids = fLayer.getGraphicIds(x, y, 10);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And than get the graphic by the id:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Graphic graphic = fLayer.getGraphic(ids[0]);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Apr 2012 13:12:27 GMT</pubDate>
    <dc:creator>RainaldSuchan1</dc:creator>
    <dc:date>2012-04-12T13:12:27Z</dc:date>
    <item>
      <title>How to get graphics from feature layer.</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-get-graphics-from-feature-layer/m-p/32631#M249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All,,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to get graphics from feature layer when I will tap on any feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Previously worked fine in old SDK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;code snipped.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
map.setOnSingleTapListener(new OnSingleTapListener() {

&amp;nbsp;&amp;nbsp; private static final long serialVersionUID = 1L;

&amp;nbsp;&amp;nbsp; public void onSingleTap(float x, float y) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; try {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Point pointClicked = map.toMapPoint(x, y);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Graphic[] graphic = fLayer.getGraphics(x, y, 10);

&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But in new SDK how I can get graphics object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Viren&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 12:42:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-get-graphics-from-feature-layer/m-p/32631#M249</guid>
      <dc:creator>VirenSavaliya</dc:creator>
      <dc:date>2012-04-11T12:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to get graphics from feature layer.</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-get-graphics-from-feature-layer/m-p/32632#M250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe the PopupInWebmapFOrViewing Example can help you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 12:56:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-get-graphics-from-feature-layer/m-p/32632#M250</guid>
      <dc:creator>SimonKlein</dc:creator>
      <dc:date>2012-04-11T12:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get graphics from feature layer.</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-get-graphics-from-feature-layer/m-p/32633#M251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This has changed. Now you first have to get the ids of the graphics:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;int[] ids = fLayer.getGraphicIds(x, y, 10);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And than get the graphic by the id:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Graphic graphic = fLayer.getGraphic(ids[0]);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 13:12:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-get-graphics-from-feature-layer/m-p/32633#M251</guid>
      <dc:creator>RainaldSuchan1</dc:creator>
      <dc:date>2012-04-12T13:12:27Z</dc:date>
    </item>
  </channel>
</rss>

