I am at my very first steps using the Pro SDK. I have found some samples on how to add layers to the active map by using the LayerFactory. It was pretty simple to add a map service from the gis server.
Now I want to add a WMS to my map. My naive approach was to replace the map server url with the wms url:
LayerFactory.Instance.CreateLayer("http://sg.geodatenzentrum.de/wms_webatlasde.light ", MapView.Active.Map);
But this will throw an exception. What is the correct way to add a wms to my map?
Solved! Go to Solution.