<?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 API for Flex 2.0 &amp;amp;quot;Switching Basemaps&amp;amp;quot; small fix in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/api-for-flex-2-0-amp-quot-switching-basemaps-amp/m-p/218864#M5149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In reference to the "Switching Basemaps" sample in the API for Flex 2.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since the buttons for changing basemaps are done using an &amp;lt;s:ButtonBar&amp;gt;, instead of a &amp;lt;mx:ToggleButtonBar&amp;gt; the user can reclick the selected button causing the basemap to disappear. Essentially, no basemap is selected. I tried a variety of fixes to this, but it seems to be more effort than its worth (not to mention I'm not much of a programmer). Maybe there's an easy solution, but I would recommend switching back to the ToggleButtonBar.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm definitely curious to see how to fix this and still use the buttonbar.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jul 2010 16:52:49 GMT</pubDate>
    <dc:creator>MattWilliams</dc:creator>
    <dc:date>2010-07-09T16:52:49Z</dc:date>
    <item>
      <title>API for Flex 2.0 &amp;quot;Switching Basemaps&amp;quot; small fix</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/api-for-flex-2-0-amp-quot-switching-basemaps-amp/m-p/218864#M5149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In reference to the "Switching Basemaps" sample in the API for Flex 2.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since the buttons for changing basemaps are done using an &amp;lt;s:ButtonBar&amp;gt;, instead of a &amp;lt;mx:ToggleButtonBar&amp;gt; the user can reclick the selected button causing the basemap to disappear. Essentially, no basemap is selected. I tried a variety of fixes to this, but it seems to be more effort than its worth (not to mention I'm not much of a programmer). Maybe there's an easy solution, but I would recommend switching back to the ToggleButtonBar.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm definitely curious to see how to fix this and still use the buttonbar.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 16:52:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/api-for-flex-2-0-amp-quot-switching-basemaps-amp/m-p/218864#M5149</guid>
      <dc:creator>MattWilliams</dc:creator>
      <dc:date>2010-07-09T16:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: API for Flex 2.0 "Switching Basemaps" small fix</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/api-for-flex-2-0-amp-quot-switching-basemaps-amp/m-p/218865#M5150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can set: requireSelection="true"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:ButtonBar id="bb"
&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; right="5" top="5"
&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; requireSelection="true"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:dataProvider&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:ArrayList&amp;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;lt;fx:String&amp;gt;Streets&amp;lt;/fx:String&amp;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;lt;fx:String&amp;gt;U.S. Topo&amp;lt;/fx:String&amp;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;lt;fx:String&amp;gt;Imagery&amp;lt;/fx:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:ArrayList&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:dataProvider&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:ButtonBar&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Reference:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/supportClasses/ListBase.html#requireSelection" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/supportClasses/ListBase.html#requireSelection&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:40:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/api-for-flex-2-0-amp-quot-switching-basemaps-amp/m-p/218865#M5150</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2021-12-11T10:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: API for Flex 2.0 "Switching Basemaps" small fix</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/api-for-flex-2-0-amp-quot-switching-basemaps-amp/m-p/218866#M5151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sweet. Thanks for the solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 17:51:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/api-for-flex-2-0-amp-quot-switching-basemaps-amp/m-p/218866#M5151</guid>
      <dc:creator>MattWilliams</dc:creator>
      <dc:date>2010-07-09T17:51:58Z</dc:date>
    </item>
  </channel>
</rss>

