<?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: Group basemaps in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/group-basemaps/m-p/510196#M14264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Dasa, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have started looking in to this but I am having a little bit of trouble with two things. Maybe you or somebody else can help out. I have changed the loop that generates the mapList arraycollection of basemaps. I now have essentially two arraycollections. mapList for the tbb control and dopDownMapList for the new TOC control. I can now say which basemaps show in the tbb as well as which basemaps show up in the new dropdown toc component. My dropTOC is basically a copy of the original in the mapSwitcher widget. I am just looking for a bit of help on the following: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Switching the basemap to the selected item in the dropTOC control. How do I say " If item selected change basemap to selected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. The second part to this is how can I set the tbb control to -1, to turn off the other basemap. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am just not sure if I add a new click handler for my dropTOC or if I access it directly. The original has. TOC.map, TOC.exclude, etc. Can I say dropTOC.selectedIndex = x?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I attached a screenshot showing my new button with my dropTOC.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Sep 2010 16:52:56 GMT</pubDate>
    <dc:creator>AlexJones</dc:creator>
    <dc:date>2010-09-30T16:52:56Z</dc:date>
    <item>
      <title>Group basemaps</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/group-basemaps/m-p/510194#M14262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using the Flex Viewer 2.1 is it possible, in the default application, to group Basemap layers. For example, if multiple Imagery sources wanted to be used. Before I add this functionality I wanted to know if it is already built in. I don't believe so at first glance of the Map Switcher widget and the config examples. As always help is appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 17:45:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/group-basemaps/m-p/510194#M14262</guid>
      <dc:creator>AlexJones</dc:creator>
      <dc:date>2010-09-28T17:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Group basemaps</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/group-basemaps/m-p/510195#M14263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Correct, this is not currently supported.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 17:51:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/group-basemaps/m-p/510195#M14263</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2010-09-28T17:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Group basemaps</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/group-basemaps/m-p/510196#M14264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Dasa, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have started looking in to this but I am having a little bit of trouble with two things. Maybe you or somebody else can help out. I have changed the loop that generates the mapList arraycollection of basemaps. I now have essentially two arraycollections. mapList for the tbb control and dopDownMapList for the new TOC control. I can now say which basemaps show in the tbb as well as which basemaps show up in the new dropdown toc component. My dropTOC is basically a copy of the original in the mapSwitcher widget. I am just looking for a bit of help on the following: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Switching the basemap to the selected item in the dropTOC control. How do I say " If item selected change basemap to selected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. The second part to this is how can I set the tbb control to -1, to turn off the other basemap. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am just not sure if I add a new click handler for my dropTOC or if I access it directly. The original has. TOC.map, TOC.exclude, etc. Can I say dropTOC.selectedIndex = x?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I attached a screenshot showing my new button with my dropTOC.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 16:52:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/group-basemaps/m-p/510196#M14264</guid>
      <dc:creator>AlexJones</dc:creator>
      <dc:date>2010-09-30T16:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Group basemaps</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/group-basemaps/m-p/510197#M14265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have determined part of my problem. I was using one array collection as a data provider which was not necessary as I can use dropToc.exculde layer. this allows me to switch the basemaps without any problems. I still have two issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Where is the proper place to deselect the tbb control. (New function?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. When using the exclude layer is it simply looking for an array collection? I tried using an array collection, but this did not work. Currently I have hardcoded and Array which does work. Are there any caveats to using the built in include/exclude? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, help is greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 19:48:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/group-basemaps/m-p/510197#M14265</guid>
      <dc:creator>AlexJones</dc:creator>
      <dc:date>2010-09-30T19:48:47Z</dc:date>
    </item>
  </channel>
</rss>

