Solved! Go to Solution.
var basemapGallery = new esri.dijit.BasemapGallery({
showArcGISBasemaps: true,
map: _maps
}, "basemapGallery");
var basemapGallery = new esri.dijit.BasemapGallery({ showArcGISBasemaps: true, map: _maps[0] }, "basemapGallery");
var basemapGallery = new esri.dijit.BasemapGallery({
showArcGISBasemaps: true,
map: _maps
}, "basemapGallery");
var basemapGallery = new esri.dijit.BasemapGallery({ showArcGISBasemaps: true, map: _maps[0] }, "basemapGallery");