Hi, I am trying to add a WMS Overlay or Layer. However, neither gives me an expected result.
Within the HowDoI Application, I have adapted the Overlay to be like this:
private void UseOverlay()
{
// Clear out the overlays so we start fresh
MapView.Overlays.Clear();
// Create a WMS overlay using the GetCapabilities URL.
var wmsOverlay = new WmsOverlay
{
Uri = new Uri("https://sgx.geodatenzentrum.de/wms_basemapde?REQUEST=GetCapabilities&Version=1.3.0&SERVICE=WMS")
};
wmsOverlay.ActiveLayerNames.Add("de_basemapde_web_raster_farbe");
wmsOverlay.Parameters.Add("FORMAT", "image/png");
wmsOverlay.Parameters.Add("CRS", "EPSG:3857");
// Add the overlay to the map.
MapView.Overlays.Add(wmsOverlay);
}
However, this returns me a white box:
https://sgx.geodatenzentrum.de/wms_basemapde?REQUEST=GetCapabilities&Version=1.3.0&SERVICE=WMS
Can you please help me how to get this to work? If you need any additional information please dont hesitate to ask, as I am new to working with WMS.
Thanks!