Basemap Human Geography Dark Map well known ID

235
1
06-03-2021 02:32 AM
DavideLimosani
Occasional Contributor II

Hello, 

I can't find the wellKnownID for basemap "Human Geography Dark Map".

It's automatically added in the basemapgallery widget but I need to load only a subset of all basemaps:

 

    basemapGallery = new BasemapGallery({
            view: app.activeView,
            container: document.createElement("div"),
            source: [Basemap.fromId("satellite"), Basemap.fromId("osm"), Basemap.fromId("hybrid"), Basemap.fromId("topo"), Basemap.fromId("dark-gray"), Basemap.fromId("gray"), Basemap.fromId("???human-dark-gray???")],
            activeBasemap: basemap
        });

 

 

Can someone help me?

 

Thank you,

 

Davide

 

0 Kudos
1 Reply
ReneRubalcava
Frequent Contributor II

Doesn't look like the human basemaps are named basemaps in the API.

https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap

You can find the basemap webmap ids by searching

https://www.arcgis.com/home/search.html?q=human%20geography&focus=maps-webmaps

0 Kudos