<?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: Programmatically visible layers not sync with Toc Widget in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/programmatically-visible-layers-not-sync-with-toc/m-p/655690#M14669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this was fixed in a later version. Why not use the latest version 3.7?&lt;/P&gt;&lt;P&gt;If you should use flex at all. I will keep my existing flex applications, but won't use flex in new projects since it's a dead end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jul 2016 11:44:11 GMT</pubDate>
    <dc:creator>MattiasEkström</dc:creator>
    <dc:date>2016-07-19T11:44:11Z</dc:date>
    <item>
      <title>Programmatically visible layers not sync with Toc Widget</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/programmatically-visible-layers-not-sync-with-toc/m-p/655689#M14668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have installed Viewer Flex 3.3 with source code.&lt;/P&gt;&lt;P&gt;I have some map services with several group layers.&amp;nbsp; I am trying to control the visibility of these layers programmatically by adding or removing them from the visibleLayers arrayCollection when I start the application because I store this information in db using a web service. &lt;/P&gt;&lt;P&gt;In TOC widget correctly shows the visibility, only for map services but incorrectly shows visibility for layer of services, which means they are not in sync.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a way to refresh the map / layers (service) or an event to dispatch so that the map will match the TOC widget and correctly display visible layers but I don't understand where made the sync&lt;/P&gt;&lt;P&gt;Can help me or this is a bug fixed in Viewer Flex superior at 3.3 &lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2016 18:06:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/programmatically-visible-layers-not-sync-with-toc/m-p/655689#M14668</guid>
      <dc:creator>NicoAtos</dc:creator>
      <dc:date>2016-07-15T18:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically visible layers not sync with Toc Widget</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/programmatically-visible-layers-not-sync-with-toc/m-p/655690#M14669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this was fixed in a later version. Why not use the latest version 3.7?&lt;/P&gt;&lt;P&gt;If you should use flex at all. I will keep my existing flex applications, but won't use flex in new projects since it's a dead end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 11:44:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/programmatically-visible-layers-not-sync-with-toc/m-p/655690#M14669</guid>
      <dc:creator>MattiasEkström</dc:creator>
      <dc:date>2016-07-19T11:44:11Z</dc:date>
    </item>
  </channel>
</rss>

