Hi,
I want to add WMS layer as basemap layer. I am using the below code to add the same.
greylayer = "https://gis.ices.dk/gis/services/World_Topo_Map/MapServer/WMSServer?request=GetCapabilities&service=WMS";var ltGreyLayer = new BasemapLayer({ url: greylayer });var ltGreyBasemap = new Basemap({layers: [ltGreyLayer],id: 'ltGrey',title: 'Light Grey',thumbnailUrl: 'https://xyz/arcgis/rest/services/Metropolis_basemap/MapServer/info/thumbnail'});
config.basemaps.push(ltGreyBasemap);
On doing so I am getting the below error while loading the map.
Any idea how to fix it?
Thanks
Aditya
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.