<?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: (Android) ArcGISDynamicMapServiceLayer don't have setVisibleLayers method in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgisdynamicmapservicelayer-don-t-have/m-p/499810#M3450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the ArcGISDynamicMapServiceLayer, I think you can call getLayers(), which returns a collection of&amp;nbsp; ArcGISLayerInfos for the sub-layers in that service. ArcGISLayerInfo has setVisible(bool) that you can call. Is this what you're asking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Dec 2015 03:51:09 GMT</pubDate>
    <dc:creator>EricBader</dc:creator>
    <dc:date>2015-12-16T03:51:09Z</dc:date>
    <item>
      <title>(Android) ArcGISDynamicMapServiceLayer don't have setVisibleLayers method</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgisdynamicmapservicelayer-don-t-have/m-p/499809#M3449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, I try to set visibility for a subLayer set of an&amp;nbsp; ArcGISDynamicMapServiceLayer, but I'm not see setVisibleLayers method. I have tried with constructor as&amp;nbsp; : ArcGISDynamicMapServiceLayer mylayer = new ArcGISDynamicMapServiceLayer(myurl, new int[]{1,2,3} ) but it not work . Please help me if you know . Thank all &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 02:46:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgisdynamicmapservicelayer-don-t-have/m-p/499809#M3449</guid>
      <dc:creator>sankira</dc:creator>
      <dc:date>2015-12-16T02:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: (Android) ArcGISDynamicMapServiceLayer don't have setVisibleLayers method</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgisdynamicmapservicelayer-don-t-have/m-p/499810#M3450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the ArcGISDynamicMapServiceLayer, I think you can call getLayers(), which returns a collection of&amp;nbsp; ArcGISLayerInfos for the sub-layers in that service. ArcGISLayerInfo has setVisible(bool) that you can call. Is this what you're asking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 03:51:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgisdynamicmapservicelayer-don-t-have/m-p/499810#M3450</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2015-12-16T03:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: (Android) ArcGISDynamicMapServiceLayer don't have setVisibleLayers method</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgisdynamicmapservicelayer-don-t-have/m-p/499811#M3451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank Eric for your answer, I have tried with that solution but still not work , all sub-layer still display :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;layer.setVisible(true);&lt;/P&gt;&lt;P&gt;ArcGISLayerInfo[] lis = layer.getAllLayers();&lt;/P&gt;&lt;P&gt; for(ArcGISLayerInfo info : lis){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(info.getId() == 10){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; info.setVisible(true);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }else{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; info.setVisible(false);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 09:59:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgisdynamicmapservicelayer-don-t-have/m-p/499811#M3451</guid>
      <dc:creator>sankira</dc:creator>
      <dc:date>2015-12-16T09:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: (Android) ArcGISDynamicMapServiceLayer don't have setVisibleLayers method</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgisdynamicmapservicelayer-don-t-have/m-p/499812#M3452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After this command info.setVisible(true); you have to refresh the MapView object. The only way I found to make it work was mapView.ZoomIn; followed by mapView.ZoomOut;&lt;/P&gt;&lt;P&gt;the same method for info.setVisible(false);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 11:19:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgisdynamicmapservicelayer-don-t-have/m-p/499812#M3452</guid>
      <dc:creator>CatalinBrad</dc:creator>
      <dc:date>2016-02-26T11:19:33Z</dc:date>
    </item>
  </channel>
</rss>

