<?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 notification when layer finished loading data? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/notification-when-layer-finished-loading-data/m-p/219630#M2008</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to know when a given layer has finished loading its shapes from the server.&amp;nbsp; I have a map view layer delegate set on my map view.&amp;nbsp; My methods get called for LayerDidLoad and such, however, they are getting called BEFORE the layer is finished loading shapes from the server.&amp;nbsp; In other words, I expected that once LayerDidLoad was called, I could access the "graphics" property of my feature layer.&amp;nbsp; That is not the case.&amp;nbsp; What am I missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the same problem reported by: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/63851-Wait-Until-AGSFeatureLayer-loaded-successfully"&gt;http://forums.arcgis.com/threads/63851-Wait-Until-AGSFeatureLayer-loaded-successfully&lt;/A&gt;&lt;SPAN&gt; but was never solved.&amp;nbsp; He ended up using a cheesy timer solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the same problem reported by:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/60830-Access-Graphics-on-AGSFeatureLayer"&gt;http://forums.arcgis.com/threads/60830-Access-Graphics-on-AGSFeatureLayer&lt;/A&gt;&lt;SPAN&gt; and was answered by a senior ESRI member stating there is no way in the SDK to know.&amp;nbsp; I do not want to change the graphics array, but just know if it is of size 0 or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In other words, I want to know if my user setup a filter (layer definitionExpression) such that no graphics pass the filter and the map is empty, such that I can automatically zoom out to the full extent of the layer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Nov 2012 19:41:19 GMT</pubDate>
    <dc:creator>AndyJames</dc:creator>
    <dc:date>2012-11-07T19:41:19Z</dc:date>
    <item>
      <title>notification when layer finished loading data?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/notification-when-layer-finished-loading-data/m-p/219630#M2008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to know when a given layer has finished loading its shapes from the server.&amp;nbsp; I have a map view layer delegate set on my map view.&amp;nbsp; My methods get called for LayerDidLoad and such, however, they are getting called BEFORE the layer is finished loading shapes from the server.&amp;nbsp; In other words, I expected that once LayerDidLoad was called, I could access the "graphics" property of my feature layer.&amp;nbsp; That is not the case.&amp;nbsp; What am I missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the same problem reported by: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/63851-Wait-Until-AGSFeatureLayer-loaded-successfully"&gt;http://forums.arcgis.com/threads/63851-Wait-Until-AGSFeatureLayer-loaded-successfully&lt;/A&gt;&lt;SPAN&gt; but was never solved.&amp;nbsp; He ended up using a cheesy timer solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the same problem reported by:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/60830-Access-Graphics-on-AGSFeatureLayer"&gt;http://forums.arcgis.com/threads/60830-Access-Graphics-on-AGSFeatureLayer&lt;/A&gt;&lt;SPAN&gt; and was answered by a senior ESRI member stating there is no way in the SDK to know.&amp;nbsp; I do not want to change the graphics array, but just know if it is of size 0 or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In other words, I want to know if my user setup a filter (layer definitionExpression) such that no graphics pass the filter and the map is empty, such that I can automatically zoom out to the full extent of the layer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 19:41:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/notification-when-layer-finished-loading-data/m-p/219630#M2008</guid>
      <dc:creator>AndyJames</dc:creator>
      <dc:date>2012-11-07T19:41:19Z</dc:date>
    </item>
  </channel>
</rss>

