<?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 change visibility of AGSDynamicMapServiceLayer sub layers in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-change-visibility-of/m-p/666665#M5937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #4c4c4c; background-color: #ffffff; margin-bottom: 1.55rem;"&gt;You can specify which layers in the service should be visible by modifying the &lt;A href="https://developers.arcgis.com/ios/10-2/api-reference/interface_a_g_s_dynamic_map_service_layer.html#a014c0a03d08ee9e8b6fd3861d8199529" rel="nofollow noopener noreferrer" target="_blank"&gt;visibleLayers&lt;/A&gt; property.&amp;nbsp;For more information, please&amp;nbsp;refer to this guide page:&amp;nbsp;&lt;A href="https://developers.arcgis.com/ios/10-2/swift/guide/dynamic-map-service-layer.htm" title="https://developers.arcgis.com/ios/10-2/swift/guide/dynamic-map-service-layer.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Dynamic map service layer—ArcGIS Runtime SDK for iOS | ArcGIS for Developers&lt;/A&gt;. Here's a code snippet from the documentation.&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE class=""&gt;&lt;SPAN class="" style="color: #006a00;"&gt;//only display ‘ushigh’ (id=0) and ‘states’ (id=1) layer
&lt;/SPAN&gt;layer.visibleLayers = [&lt;SPAN class="" style="color: #1c00cf;"&gt;0&lt;/SPAN&gt;, &lt;SPAN class="" style="color: #1c00cf;"&gt;1&lt;/SPAN&gt;]
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 04:10:29 GMT</pubDate>
    <dc:creator>GarimaDhakal</dc:creator>
    <dc:date>2021-12-12T04:10:29Z</dc:date>
    <item>
      <title>How to change visibility of AGSDynamicMapServiceLayer sub layers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-change-visibility-of/m-p/666664#M5936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to change the visibility of few sub layers within my&amp;nbsp;AGSDynamicMapServiceLayer.But didn't found any solution for same.&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 07:18:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-change-visibility-of/m-p/666664#M5936</guid>
      <dc:creator>AkshayAnpat</dc:creator>
      <dc:date>2018-01-18T07:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to change visibility of AGSDynamicMapServiceLayer sub layers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-change-visibility-of/m-p/666665#M5937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #4c4c4c; background-color: #ffffff; margin-bottom: 1.55rem;"&gt;You can specify which layers in the service should be visible by modifying the &lt;A href="https://developers.arcgis.com/ios/10-2/api-reference/interface_a_g_s_dynamic_map_service_layer.html#a014c0a03d08ee9e8b6fd3861d8199529" rel="nofollow noopener noreferrer" target="_blank"&gt;visibleLayers&lt;/A&gt; property.&amp;nbsp;For more information, please&amp;nbsp;refer to this guide page:&amp;nbsp;&lt;A href="https://developers.arcgis.com/ios/10-2/swift/guide/dynamic-map-service-layer.htm" title="https://developers.arcgis.com/ios/10-2/swift/guide/dynamic-map-service-layer.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Dynamic map service layer—ArcGIS Runtime SDK for iOS | ArcGIS for Developers&lt;/A&gt;. Here's a code snippet from the documentation.&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE class=""&gt;&lt;SPAN class="" style="color: #006a00;"&gt;//only display ‘ushigh’ (id=0) and ‘states’ (id=1) layer
&lt;/SPAN&gt;layer.visibleLayers = [&lt;SPAN class="" style="color: #1c00cf;"&gt;0&lt;/SPAN&gt;, &lt;SPAN class="" style="color: #1c00cf;"&gt;1&lt;/SPAN&gt;]
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:10:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-change-visibility-of/m-p/666665#M5937</guid>
      <dc:creator>GarimaDhakal</dc:creator>
      <dc:date>2021-12-12T04:10:29Z</dc:date>
    </item>
  </channel>
</rss>

