AnsweredAssumed Answered

How do I add WMS to a map?

Question asked by s.offermannconterra-de-esridist Employee on Aug 4, 2017
Latest reply on Aug 4, 2017 by s.offermannconterra-de-esridist

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(" ", MapView.Active.Map);


But this will throw an exception. What is the correct way to add a wms to my map?