map.getBasemap() not updating with the new base map

Discussion created by ehtroyas-esri-ireland-ie-esridist on Jan 21, 2014
Latest reply on Jan 22, 2014 by NSager-esristaff
Hi all!

I have been working with BasemapGallery, and the Map class. My problem is that when I change the basemap with the basemapgallery then I try to access to  map.getBasemap() and is returning the same basemap that when the Map class was instantianted. It seems that the basemap in the Map class is not updating each time that I change the basemap with the BasemapGallery.

Thanks in advance and sorry for my English  :(