AnsweredAssumed Answered

Close Basemap Gallery On Selection

Question asked by lloydbronn on Nov 7, 2016
Latest reply on Nov 7, 2016 by rscheitlin

I have the basemaps gallery widget in my maps. I'd like the gallery to automatically close when a user chooses a basemap. I'm not sure if I need to specify this in basemapGallery.on "selection-change" event or in the TitlePane dijit itself. I looked at the API reference and I don't think the destroy() method is what I want. 

Outcomes