<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How do I add WMS to a map? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-add-wms-to-a-map/m-p/803764#M2096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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&amp;nbsp;&lt;EM&gt;LayerFactory&lt;/EM&gt;. It was pretty simple to add a map service from the gis server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to add a WMS to my map. My naive approach was to replace the map server url with the wms url:&lt;/P&gt;&lt;PRE&gt;LayerFactory.Instance.CreateLayer("&lt;A class="link-titled" href="http://sg.geodatenzentrum.de/wms_webatlasde.light" title="http://sg.geodatenzentrum.de/wms_webatlasde.light"&gt;http://sg.geodatenzentrum.de/wms_webatlasde.light&lt;/A&gt;&amp;nbsp;", MapView.Active.Map);&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this will throw an exception. What is the correct way to add a wms to my map?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Aug 2017 14:00:40 GMT</pubDate>
    <dc:creator>StefanOffermann</dc:creator>
    <dc:date>2017-08-04T14:00:40Z</dc:date>
    <item>
      <title>How do I add WMS to a map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-add-wms-to-a-map/m-p/803764#M2096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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&amp;nbsp;&lt;EM&gt;LayerFactory&lt;/EM&gt;. It was pretty simple to add a map service from the gis server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to add a WMS to my map. My naive approach was to replace the map server url with the wms url:&lt;/P&gt;&lt;PRE&gt;LayerFactory.Instance.CreateLayer("&lt;A class="link-titled" href="http://sg.geodatenzentrum.de/wms_webatlasde.light" title="http://sg.geodatenzentrum.de/wms_webatlasde.light"&gt;http://sg.geodatenzentrum.de/wms_webatlasde.light&lt;/A&gt;&amp;nbsp;", MapView.Active.Map);&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this will throw an exception. What is the correct way to add a wms to my map?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 14:00:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-add-wms-to-a-map/m-p/803764#M2096</guid>
      <dc:creator>StefanOffermann</dc:creator>
      <dc:date>2017-08-04T14:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add WMS to a map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-add-wms-to-a-map/m-p/803765#M2097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you checked&amp;nbsp;&lt;A href="https://community.esri.com/docs/DOC-8802-how-to-add-a-wms-service-to-arcgis-pro-using-the-sdk"&gt;https://community.esri.com/docs/DOC-8802-how-to-add-a-wms-service-to-arcgis-pro-using-the-sdk&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 14:33:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-add-wms-to-a-map/m-p/803765#M2097</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2017-08-04T14:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add WMS to a map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-add-wms-to-a-map/m-p/803766#M2098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you for the think, this answers my question!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 14:45:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-add-wms-to-a-map/m-p/803766#M2098</guid>
      <dc:creator>StefanOffermann</dc:creator>
      <dc:date>2017-08-04T14:45:34Z</dc:date>
    </item>
  </channel>
</rss>

