I want to add a Header in the BaseMapGallery Widget. I have added the BaseMapGallery widget in my ExpandWidget as content. How can I now add some text to the BaseMapGallery widget (e.g. instructions) and a title bar?
Here is my code:
var basemapGallery = new BasemapGallery({
view: view,
source: [
// Basemap.fromId("streets-navigation-vector"),
// Basemap.fromId("satellite"),
Basemap.fromId("hybrid"),
Basemap.fromId("dark-gray-vector"),
Basemap.fromId("osm"),
Basemap.fromId("gray-vector"),
]
}, "basemapGallery");
var bgExpand2 = new Expand({
view: view,
content: basemapGallery
});