<?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: Is it possible to change layer visibility in a AGSDynamicServiceMapLayer? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-change-layer-visibility-in-a/m-p/634889#M5640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ok... what is the relationship between self.dynamicLayer.visibleLayers and each layerInfo.visible property? &lt;BR /&gt;&lt;BR /&gt;when I load the service (AGSDynamicMapServiceLayer), visibleLayers array is empty, but all layerInfo.visible attributes are set to true.&lt;BR /&gt;&lt;BR /&gt;Is this property updated when I change the visibleLayers array?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ok, answer to my own questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- initially visibleLayers array is nil.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- each layer's visible property is the default visibility and doesn't change when you update the visibleLayers array&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it correct? Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Oct 2010 09:20:09 GMT</pubDate>
    <dc:creator>JavierAbadía_Miranda</dc:creator>
    <dc:date>2010-10-05T09:20:09Z</dc:date>
    <item>
      <title>Is it possible to change layer visibility in a AGSDynamicServiceMapLayer?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-change-layer-visibility-in-a/m-p/634886#M5637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I mean, changing visibility of the layers that are within each service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 09:18:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-change-layer-visibility-in-a/m-p/634886#M5637</guid>
      <dc:creator>JavierAbadía_Miranda</dc:creator>
      <dc:date>2010-10-04T09:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to change layer visibility in a AGSDynamicServiceMapLayer?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-change-layer-visibility-in-a/m-p/634887#M5638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you need to set the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;visibleLayers &lt;/SPAN&gt;&lt;SPAN&gt;property on AGSDynamicMapServiceLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll see it in the MapViewDemo sample&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;self.dynamicLayer.visibleLayers = [NSArray arrayWithObjects:[NSNumber numberWithInt:2], nil];&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 17:04:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-change-layer-visibility-in-a/m-p/634887#M5638</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2010-10-04T17:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to change layer visibility in a AGSDynamicServiceMapLayer?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-change-layer-visibility-in-a/m-p/634888#M5639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, you need to set the &lt;SPAN style="font-style:italic;"&gt;visibleLayers &lt;/SPAN&gt;property on AGSDynamicMapServiceLayer.&lt;BR /&gt;&lt;BR /&gt;You'll see it in the MapViewDemo sample&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;self.dynamicLayer.visibleLayers = [NSArray arrayWithObjects:[NSNumber numberWithInt:2], nil];&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ok... what is the relationship between self.dynamicLayer.visibleLayers and each layerInfo.visible property? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when I load the service (AGSDynamicMapServiceLayer), visibleLayers array is empty, but all layerInfo.visible attributes are set to true.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this property updated when I change the visibleLayers array?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 08:44:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-change-layer-visibility-in-a/m-p/634888#M5639</guid>
      <dc:creator>JavierAbadía_Miranda</dc:creator>
      <dc:date>2010-10-05T08:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to change layer visibility in a AGSDynamicServiceMapLayer?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-change-layer-visibility-in-a/m-p/634889#M5640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ok... what is the relationship between self.dynamicLayer.visibleLayers and each layerInfo.visible property? &lt;BR /&gt;&lt;BR /&gt;when I load the service (AGSDynamicMapServiceLayer), visibleLayers array is empty, but all layerInfo.visible attributes are set to true.&lt;BR /&gt;&lt;BR /&gt;Is this property updated when I change the visibleLayers array?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ok, answer to my own questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- initially visibleLayers array is nil.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- each layer's visible property is the default visibility and doesn't change when you update the visibleLayers array&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it correct? Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 09:20:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-change-layer-visibility-in-a/m-p/634889#M5640</guid>
      <dc:creator>JavierAbadía_Miranda</dc:creator>
      <dc:date>2010-10-05T09:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to change layer visibility in a AGSDynamicServiceMapLayer?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-change-layer-visibility-in-a/m-p/634890#M5641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ok, answer to my own questions:&lt;BR /&gt;&lt;BR /&gt;- initially visibleLayers array is nil.&lt;BR /&gt;- each layer's visible property is the default visibility and doesn't change when you update the visibleLayers array&lt;BR /&gt;&lt;BR /&gt;Is it correct? Thanks.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, correct!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 15:50:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-change-layer-visibility-in-a/m-p/634890#M5641</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2010-10-06T15:50:20Z</dc:date>
    </item>
  </channel>
</rss>

