<?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 Can't add layers from WMS Request in ArcGIS map in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/can-t-add-layers-from-wms-request-in-arcgis-map/m-p/477607#M3281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;Hi, can&amp;nbsp;somebody show&amp;nbsp;me how to create Xamarin mobile app with map and to add on it two layers from this "&lt;/SPAN&gt;&lt;A href="http://anta.nat.bg:8080/cgi-bin/mapserv.exe?map=/ms4w/maps/map.map&amp;amp;SERVICE=WMS&amp;amp;VERSION=1.1.1&amp;amp;REQUEST=GetMap&amp;amp;LAYERS=bnd_lines,ot&amp;amp;STYLES=&amp;amp;SRS=EPSG:7801&amp;amp;BBOX=320471,4724240,323127,4730190&amp;amp;WIDTH=400&amp;amp;HEIGHT=300&amp;amp;FORMAT=image/png" rel="nofollow" style="color: #0366d6; background-color: #ffffff; text-decoration: none;"&gt;http://anta.nat.bg:8080/cgi-bin/mapserv.exe?map=/ms4w/maps/map.map&amp;amp;SERVICE=WMS&amp;amp;VERSION=1.1.1&amp;amp;REQUEST=GetMap&amp;amp;LAYERS=bnd_lines,ot&amp;amp;STYLES=&amp;amp;SRS=EPSG:7801&amp;amp;BBOX=320471,4724240,323127,4730190&amp;amp;WIDTH=400&amp;amp;HEIGHT=300&amp;amp;FORMAT=image/png&lt;/A&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;BR style="color: #24292e; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;request.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the example in&amp;nbsp;ArcGISRuntime Samples:&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;private readonly Uri _wmsUrl = new Uri(&lt;BR /&gt; "http://anta.nat.bg:8080/fcgi-bin/mapserv.exe?map=/ms4w/maps/map.map&amp;amp;SERVICE=WMS&amp;amp;request=getcapabilities&amp;amp;service=WMS");&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; private readonly List&amp;lt;string&amp;gt; _wmsLayerNames = new List&amp;lt;string&amp;gt; { "bnd_lines" };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;public MapPage()&lt;BR /&gt; {&lt;BR /&gt; InitializeComponent();&lt;/P&gt;&lt;P&gt;Initialize();&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;private void Initialize()&lt;BR /&gt; {&lt;BR /&gt; Map myMap = new Map(Basemap.CreateLightGrayCanvas())&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;InitialViewpoint = new Viewpoint(&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;new Envelope(-19195297.778679, 512343.939994, -3620418.579987, 8658913.035426, 0.0, 0.0, &amp;nbsp;&amp;nbsp;&amp;nbsp;SpatialReferences.WebMercator))&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; MyMapView.Map = myMap;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; WmsLayer myWmsLayer = new WmsLayer(_wmsUrl, _wmsLayerNames);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; myMap.OperationalLayers.Add(myWmsLayer);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;But nothing is showing on the map.&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #24292e; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;I am new in programming and can't do it for days.&lt;/SPAN&gt;&lt;BR style="color: #24292e; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;Many thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jul 2020 07:13:21 GMT</pubDate>
    <dc:creator>NenkoPakov</dc:creator>
    <dc:date>2020-07-10T07:13:21Z</dc:date>
    <item>
      <title>Can't add layers from WMS Request in ArcGIS map</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/can-t-add-layers-from-wms-request-in-arcgis-map/m-p/477607#M3281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;Hi, can&amp;nbsp;somebody show&amp;nbsp;me how to create Xamarin mobile app with map and to add on it two layers from this "&lt;/SPAN&gt;&lt;A href="http://anta.nat.bg:8080/cgi-bin/mapserv.exe?map=/ms4w/maps/map.map&amp;amp;SERVICE=WMS&amp;amp;VERSION=1.1.1&amp;amp;REQUEST=GetMap&amp;amp;LAYERS=bnd_lines,ot&amp;amp;STYLES=&amp;amp;SRS=EPSG:7801&amp;amp;BBOX=320471,4724240,323127,4730190&amp;amp;WIDTH=400&amp;amp;HEIGHT=300&amp;amp;FORMAT=image/png" rel="nofollow" style="color: #0366d6; background-color: #ffffff; text-decoration: none;"&gt;http://anta.nat.bg:8080/cgi-bin/mapserv.exe?map=/ms4w/maps/map.map&amp;amp;SERVICE=WMS&amp;amp;VERSION=1.1.1&amp;amp;REQUEST=GetMap&amp;amp;LAYERS=bnd_lines,ot&amp;amp;STYLES=&amp;amp;SRS=EPSG:7801&amp;amp;BBOX=320471,4724240,323127,4730190&amp;amp;WIDTH=400&amp;amp;HEIGHT=300&amp;amp;FORMAT=image/png&lt;/A&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;BR style="color: #24292e; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;request.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the example in&amp;nbsp;ArcGISRuntime Samples:&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;private readonly Uri _wmsUrl = new Uri(&lt;BR /&gt; "http://anta.nat.bg:8080/fcgi-bin/mapserv.exe?map=/ms4w/maps/map.map&amp;amp;SERVICE=WMS&amp;amp;request=getcapabilities&amp;amp;service=WMS");&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; private readonly List&amp;lt;string&amp;gt; _wmsLayerNames = new List&amp;lt;string&amp;gt; { "bnd_lines" };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;public MapPage()&lt;BR /&gt; {&lt;BR /&gt; InitializeComponent();&lt;/P&gt;&lt;P&gt;Initialize();&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;private void Initialize()&lt;BR /&gt; {&lt;BR /&gt; Map myMap = new Map(Basemap.CreateLightGrayCanvas())&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;InitialViewpoint = new Viewpoint(&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;new Envelope(-19195297.778679, 512343.939994, -3620418.579987, 8658913.035426, 0.0, 0.0, &amp;nbsp;&amp;nbsp;&amp;nbsp;SpatialReferences.WebMercator))&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; MyMapView.Map = myMap;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; WmsLayer myWmsLayer = new WmsLayer(_wmsUrl, _wmsLayerNames);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; myMap.OperationalLayers.Add(myWmsLayer);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;But nothing is showing on the map.&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #24292e; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;I am new in programming and can't do it for days.&lt;/SPAN&gt;&lt;BR style="color: #24292e; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;Many thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2020 07:13:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/can-t-add-layers-from-wms-request-in-arcgis-map/m-p/477607#M3281</guid>
      <dc:creator>NenkoPakov</dc:creator>
      <dc:date>2020-07-10T07:13:21Z</dc:date>
    </item>
  </channel>
</rss>

