<?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: AGSGraphicLayer graphic attributes in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsgraphiclayer-graphic-attributes/m-p/53059#M499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm, I think I can use the definitionExpression property of the FeatureLayer.. I will give that a go.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jul 2013 00:17:37 GMT</pubDate>
    <dc:creator>DavidMcDonald2</dc:creator>
    <dc:date>2013-07-26T00:17:37Z</dc:date>
    <item>
      <title>AGSGraphicLayer graphic attributes</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsgraphiclayer-graphic-attributes/m-p/53058#M498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am curious whether it is possible to change the default behaviour for retrieving graphics in a AGSFeatureLayer when added to a AGSMapView?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bear with me..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently querying AGSFeatureLayers so that I can return all attributes for each graphic i.e. [query setOutFields:@[@"*"]].&amp;nbsp; This works fine, but I also need to return the geometry for each graphic in order to sort them by distance from the centre of the map. I have quite a lot of graphics so returning the geometry can become quite inefficient. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use the graphics returned dynamically from the visible map region instead, the performance is much better, but these graphics only contain the top two attributes from the feature service layer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to be able to specify a default query for the AGSFeatureLayer when adding it to a map, as I believe this would be more efficient than manually querying AGSFeatureLayers in this circumstance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that makes sense.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 00:03:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsgraphiclayer-graphic-attributes/m-p/53058#M498</guid>
      <dc:creator>DavidMcDonald2</dc:creator>
      <dc:date>2013-07-26T00:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: AGSGraphicLayer graphic attributes</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsgraphiclayer-graphic-attributes/m-p/53059#M499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm, I think I can use the definitionExpression property of the FeatureLayer.. I will give that a go.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 00:17:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsgraphiclayer-graphic-attributes/m-p/53059#M499</guid>
      <dc:creator>DavidMcDonald2</dc:creator>
      <dc:date>2013-07-26T00:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: AGSGraphicLayer graphic attributes</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsgraphiclayer-graphic-attributes/m-p/53060#M500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, apologies. The easiest solution for me is to set the outFields in the AGSFeatureLayers to * and then I don't need to make any queries. The app is now running much quicker.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 00:24:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsgraphiclayer-graphic-attributes/m-p/53060#M500</guid>
      <dc:creator>DavidMcDonald2</dc:creator>
      <dc:date>2013-07-26T00:24:01Z</dc:date>
    </item>
  </channel>
</rss>

