<?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 basemap gallery error:&amp;nbsp;&amp;nbsp;&amp;nbsp; esri.dijit.BasemapGallery: could not find group for basemap in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-gallery-error-nbsp-nbsp-nbsp-esri-dijit/m-p/440688#M40673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;WARNING: I am very new to using JavaScript and making custom web map application so please keep it simple. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to add the Basemap Gallery widget to my web map application. I have already successfully accomplished this on another application and just can't seem to figure out where the difference is. I started off creating this application by downloading an ArcGIS Online web map application template (I am starting to think I should just start from scratch and it would cause less headaches).&amp;nbsp; When I insert the same code in the map.js file as I used for a previous application where the basemap gallery appeared and function perfectly, I received this error message "basemap gallery error: esri.dijit.BasemapGallery: could not find group for basemap". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The application can be found at: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://fishandgame.idaho.gov/ifwis/maps/WildlifeTracts/" rel="nofollow" target="_blank"&gt;http://fishandgame.idaho.gov/ifwis/maps/WildlifeTracts/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My code is attached.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Sep 2013 22:11:38 GMT</pubDate>
    <dc:creator>PamelaBond</dc:creator>
    <dc:date>2013-09-16T22:11:38Z</dc:date>
    <item>
      <title>basemap gallery error:    esri.dijit.BasemapGallery: could not find group for basemap</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-gallery-error-nbsp-nbsp-nbsp-esri-dijit/m-p/440688#M40673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;WARNING: I am very new to using JavaScript and making custom web map application so please keep it simple. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to add the Basemap Gallery widget to my web map application. I have already successfully accomplished this on another application and just can't seem to figure out where the difference is. I started off creating this application by downloading an ArcGIS Online web map application template (I am starting to think I should just start from scratch and it would cause less headaches).&amp;nbsp; When I insert the same code in the map.js file as I used for a previous application where the basemap gallery appeared and function perfectly, I received this error message "basemap gallery error: esri.dijit.BasemapGallery: could not find group for basemap". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The application can be found at: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://fishandgame.idaho.gov/ifwis/maps/WildlifeTracts/" rel="nofollow" target="_blank"&gt;http://fishandgame.idaho.gov/ifwis/maps/WildlifeTracts/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My code is attached.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 22:11:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-gallery-error-nbsp-nbsp-nbsp-esri-dijit/m-p/440688#M40673</guid>
      <dc:creator>PamelaBond</dc:creator>
      <dc:date>2013-09-16T22:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: basemap gallery error:    esri.dijit.BasemapGallery: could not find group for bas</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-gallery-error-nbsp-nbsp-nbsp-esri-dijit/m-p/440689#M40674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;map in esri.dijit.BasemapGallery should refer to the map object used in your app, while _maps is an array of map objects. Matter of fact, _maps only contains one map object. Don't know why need an array here. Anyway, here is the change you can make.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try to change:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;nbsp; var basemapGallery = new esri.dijit.BasemapGallery({&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; showArcGISBasemaps: true,&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map: _maps&lt;BR /&gt;}, "basemapGallery");&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var basemapGallery = new esri.dijit.BasemapGallery({ &amp;nbsp;&amp;nbsp;&amp;nbsp; showArcGISBasemaps: true,&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map: _maps[0] }, "basemapGallery");&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 12:16:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-gallery-error-nbsp-nbsp-nbsp-esri-dijit/m-p/440689#M40674</guid>
      <dc:creator>JasonZou</dc:creator>
      <dc:date>2013-09-17T12:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: basemap gallery error:    esri.dijit.BasemapGallery: could not find group for bas</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-gallery-error-nbsp-nbsp-nbsp-esri-dijit/m-p/440690#M40675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Jason.&amp;nbsp; That worked for me.&amp;nbsp; The code originally came from an ArcGIS Online web application template (I am still learning to customize) so the code for an array of maps object stemmed from that.&amp;nbsp; I am still learning - maybe I will figure out how to change it so it is just referencing my map.&amp;nbsp; Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 14:48:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-gallery-error-nbsp-nbsp-nbsp-esri-dijit/m-p/440690#M40675</guid>
      <dc:creator>PamelaBond</dc:creator>
      <dc:date>2013-09-19T14:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: basemap gallery error:    esri.dijit.BasemapGallery: could not find group for bas</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-gallery-error-nbsp-nbsp-nbsp-esri-dijit/m-p/440691#M40676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad to help, Pamela. Please consider to mark this thread as "Answered" so other people may find it helpful. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 14:54:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-gallery-error-nbsp-nbsp-nbsp-esri-dijit/m-p/440691#M40676</guid>
      <dc:creator>JasonZou</dc:creator>
      <dc:date>2013-09-19T14:54:29Z</dc:date>
    </item>
  </channel>
</rss>

