<?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 Layers Visibility in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/layers-visibility/m-p/102913#M769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;Hi all,&lt;/P&gt;&lt;P style="text-align: left;"&gt;I'm using mmpk project with group layers,&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&amp;nbsp;when I want to turn on featureCollectionLayers the code&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;layer.isVisible = true&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;works fine, however after I've updated the sdk to 100.7.0 the code to make layers visible doesn't work any more:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;layers.&lt;SPAN style="color: #ffc66d;"&gt;forEach &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;{
&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;if &lt;/SPAN&gt;(&lt;SPAN style="font-weight: bold;"&gt;it &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;is &lt;/SPAN&gt;GroupLayer){
        legendGroupMap[&lt;SPAN style="background-color: #223c23;"&gt;it&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;name&lt;/SPAN&gt;] = &lt;SPAN style="background-color: #223c23;"&gt;it&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;layers
&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="background-color: #223c23;"&gt;it&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;layers&lt;/SPAN&gt;.&lt;SPAN style="color: #ffc66d;"&gt;forEach&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;{ &lt;/SPAN&gt;mLayers&lt;SPAN style="font-weight: bold;"&gt;-&amp;gt;
&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;            &lt;/SPAN&gt;mLayers.&lt;SPAN style="color: #9876aa;"&gt;isVisible &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;true
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;}
&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;    &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;P&gt;how do i make layers inside a group layer visible in 100.7.0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 06:20:27 GMT</pubDate>
    <dc:creator>nafotoisrael</dc:creator>
    <dc:date>2021-12-11T06:20:27Z</dc:date>
    <item>
      <title>Layers Visibility</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/layers-visibility/m-p/102913#M769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;Hi all,&lt;/P&gt;&lt;P style="text-align: left;"&gt;I'm using mmpk project with group layers,&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&amp;nbsp;when I want to turn on featureCollectionLayers the code&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;layer.isVisible = true&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;works fine, however after I've updated the sdk to 100.7.0 the code to make layers visible doesn't work any more:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;layers.&lt;SPAN style="color: #ffc66d;"&gt;forEach &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;{
&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;if &lt;/SPAN&gt;(&lt;SPAN style="font-weight: bold;"&gt;it &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;is &lt;/SPAN&gt;GroupLayer){
        legendGroupMap[&lt;SPAN style="background-color: #223c23;"&gt;it&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;name&lt;/SPAN&gt;] = &lt;SPAN style="background-color: #223c23;"&gt;it&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;layers
&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="background-color: #223c23;"&gt;it&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;layers&lt;/SPAN&gt;.&lt;SPAN style="color: #ffc66d;"&gt;forEach&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;{ &lt;/SPAN&gt;mLayers&lt;SPAN style="font-weight: bold;"&gt;-&amp;gt;
&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;            &lt;/SPAN&gt;mLayers.&lt;SPAN style="color: #9876aa;"&gt;isVisible &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;true
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;}
&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;    &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;P&gt;how do i make layers inside a group layer visible in 100.7.0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:20:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/layers-visibility/m-p/102913#M769</guid>
      <dc:creator>nafotoisrael</dc:creator>
      <dc:date>2021-12-11T06:20:27Z</dc:date>
    </item>
  </channel>
</rss>

