<?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 can we hide and show AGSGraphicsLayer in iOS? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-hide-and-show-agsgraphicslayer-in-ios/m-p/650736#M5801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The easiest way to hide and show a graphics layer: &lt;BR /&gt;&lt;BR /&gt;UIView&amp;lt;AGSLayerView&amp;gt; *layerView = [self.mapView.mapLayerViews objectForKey:graphiclayername];&lt;BR /&gt;layerView.hidden = YES; (or NO)&lt;BR /&gt;&lt;BR /&gt;Hoep it helps &lt;BR /&gt;&lt;BR /&gt;Frank&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks frank, its working &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;Now If i want to save my last route results, as if i close the app completely (means the app is not in Memory) and run the app again and want to see the last routing results in routing mode then is it possible? if yes (i think yes) then please tell me how can i save the last results in core data or in any other way so i can achieve my goal to show the last result on the next time run of app.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Aug 2012 07:26:22 GMT</pubDate>
    <dc:creator>KhurramWaqas</dc:creator>
    <dc:date>2012-08-06T07:26:22Z</dc:date>
    <item>
      <title>How can we hide and show AGSGraphicsLayer in iOS?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-hide-and-show-agsgraphicslayer-in-ios/m-p/650734#M5799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hy I am using&amp;nbsp; two AGSGraphicsLayers in my app one for normal features and Graphics and another for Routing graphics and routing results. I want to handle the situation that if routing is solved and routing graphics layer is populated, its mean now this layer have graphics. Now I go to normal app showing features graphics layer and not the routing graphics layer as they are both on the same map. so i use&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;// remove all graphics&amp;nbsp; [self.graphicsLayerRouting removeAllGraphics];&amp;nbsp; [self.graphicsLayerRouting dataChanged];&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;so the routing results are removed. Now I came back to routing case again, means the routing layer is going to add again with NO GRAPHICS. But i need the last routing result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now please guide me that what i have to do to show the last routing graphics layer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;any idea about&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. How to hide the graphics layer and show it again?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. or how to save the last graphics in array or dictionary format and on next time how should I re populate layer with that array or dictionary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Khurram&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 04:45:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-hide-and-show-agsgraphicslayer-in-ios/m-p/650734#M5799</guid>
      <dc:creator>KhurramWaqas</dc:creator>
      <dc:date>2012-08-03T04:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can we hide and show AGSGraphicsLayer in iOS?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-hide-and-show-agsgraphicslayer-in-ios/m-p/650735#M5800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The easiest way to hide and show a graphics layer: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UIView&amp;lt;AGSLayerView&amp;gt; *layerView = [self.mapView.mapLayerViews objectForKey:graphiclayername];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layerView.hidden = YES; (or NO)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hoep it helps &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Frank&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 13:17:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-hide-and-show-agsgraphicslayer-in-ios/m-p/650735#M5800</guid>
      <dc:creator>FrankXia</dc:creator>
      <dc:date>2012-08-03T13:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can we hide and show AGSGraphicsLayer in iOS?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-hide-and-show-agsgraphicslayer-in-ios/m-p/650736#M5801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The easiest way to hide and show a graphics layer: &lt;BR /&gt;&lt;BR /&gt;UIView&amp;lt;AGSLayerView&amp;gt; *layerView = [self.mapView.mapLayerViews objectForKey:graphiclayername];&lt;BR /&gt;layerView.hidden = YES; (or NO)&lt;BR /&gt;&lt;BR /&gt;Hoep it helps &lt;BR /&gt;&lt;BR /&gt;Frank&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks frank, its working &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;Now If i want to save my last route results, as if i close the app completely (means the app is not in Memory) and run the app again and want to see the last routing results in routing mode then is it possible? if yes (i think yes) then please tell me how can i save the last results in core data or in any other way so i can achieve my goal to show the last result on the next time run of app.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 07:26:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-hide-and-show-agsgraphicslayer-in-ios/m-p/650736#M5801</guid>
      <dc:creator>KhurramWaqas</dc:creator>
      <dc:date>2012-08-06T07:26:22Z</dc:date>
    </item>
  </channel>
</rss>

