<?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 Re: Xamarin Forms – displaying mapserver problem in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/xamarin-forms-displaying-mapserver-problem/m-p/31646#M362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;Nagma – Thank you for responding!&amp;nbsp; I copied your code and am able to see both layers on a basemap in a WPF solution, the same you used in your testing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;But the same code in Xamarin Forms, running on an Android physical device, still gives me the same “Error” status in the layerviewstatus.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;I have tried some sample layer services, such as “arcgis/rest/services/Census/MapServer”, and they work as expected, so I don’t think it is permissions in the AndroidManifest.xml file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;Any other suggestions would be appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Aug 2017 19:02:38 GMT</pubDate>
    <dc:creator>kbheadley</dc:creator>
    <dc:date>2017-08-10T19:02:38Z</dc:date>
    <item>
      <title>Xamarin Forms – displaying mapserver problem</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/xamarin-forms-displaying-mapserver-problem/m-p/31644#M360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to get a simple overlay working in Xamarin Forms (all code in shared folder) with Esri.ArcGISRuntime SDK v100.1.0, using VS.NET 2017, testing the Android project.&amp;nbsp; I load an ESRI basemap, then add a busmap/transitmap as a layer on top of that.&amp;nbsp; I have tried various types of layers.&amp;nbsp; In all 3 cases, when I monitor the layerviewstatus, it goes from “loading” to “error”.&amp;nbsp;&amp;nbsp; I do get the basemap to display, but nothing is overlayed. Am I going about this the right way, or could someone suggest a way to get the actual “error” that is being generated? &amp;nbsp;&amp;nbsp;Thanks so much in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code for the tiledLayerUri, imageLayerUri, featureLayerUri:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;Map&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; myMap = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;Map&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;Basemap&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;.CreateStreets());&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; tiledLayerUri = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;Uri&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;( &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fgissbservices.suffolkcountyny.gov%2Farcgis%2Frest%2Fservices%2FBusMap%2FMapServer" rel="nofollow" target="_blank"&gt;https://gissbservices.suffolkcountyny.gov/arcgis/rest/services/BusMap/MapServer&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;ArcGISTiledLayer&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; tiledLayer = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;ArcGISTiledLayer&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;(tiledLayerUri);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;tiledLayer.Name = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515;"&gt;"Tiled Layer"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;myMap.OperationalLayers.Add(tiledLayer);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; imageLayerUri = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;Uri&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fgissbservices.suffolkcountyny.gov%2Farcgis%2Frest%2Fservices%2FSCTransitRouteStops%2FMapServer" rel="nofollow" target="_blank"&gt;https://gissbservices.suffolkcountyny.gov/arcgis/rest/services/SCTransitRouteStops/MapServer&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;ArcGISMapImageLayer&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; imageLayer = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;ArcGISMapImageLayer&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;(imageLayerUri)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;imageLayer.Name = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515;"&gt;"Image Layer"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;imageLayer.MinScale = 40000000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;imageLayer.MaxScale = 2000000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;myMap.OperationalLayers.Add(imageLayer);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; featureLayerUri = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;Uri&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fgissbservices.suffolkcountyny.gov%2Farcgis%2Frest%2Fservices%2FSCTransitRouteStops%2FMapServer%2F1" rel="nofollow" target="_blank"&gt;https://gissbservices.suffolkcountyny.gov/arcgis/rest/services/SCTransitRouteStops/MapServer/1&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;FeatureLayer&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; myFeatureLayer = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.5pt; color: #2b91af;"&gt;FeatureLayer&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;(featureLayerUri);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;myFeatureLayer.Name = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515;"&gt;"Feature Layer"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;myMap.OperationalLayers.Add(myFeatureLayer);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 17:07:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/xamarin-forms-displaying-mapserver-problem/m-p/31644#M360</guid>
      <dc:creator>kbheadley</dc:creator>
      <dc:date>2017-08-09T17:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Xamarin Forms – displaying mapserver problem</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/xamarin-forms-displaying-mapserver-problem/m-p/31645#M361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You Bus Map service is a dynamic layer but you added as ArcGISTiledLayer instead ArcGISImageLayer and the&amp;nbsp;SCTransitRouteStops isn't dynamic layer but you added &amp;nbsp;as ArcGISImageLayer. I added the correct way and am able to see your layer.&lt;IMG alt="ArcGISImageLayer" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/366483_DynamicLayer.PNG" style="width: 620px; height: 341px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nagma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 22:25:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/xamarin-forms-displaying-mapserver-problem/m-p/31645#M361</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2017-08-09T22:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Xamarin Forms – displaying mapserver problem</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/xamarin-forms-displaying-mapserver-problem/m-p/31646#M362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;Nagma – Thank you for responding!&amp;nbsp; I copied your code and am able to see both layers on a basemap in a WPF solution, the same you used in your testing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;But the same code in Xamarin Forms, running on an Android physical device, still gives me the same “Error” status in the layerviewstatus.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;I have tried some sample layer services, such as “arcgis/rest/services/Census/MapServer”, and they work as expected, so I don’t think it is permissions in the AndroidManifest.xml file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;Any other suggestions would be appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 19:02:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/xamarin-forms-displaying-mapserver-problem/m-p/31646#M362</guid>
      <dc:creator>kbheadley</dc:creator>
      <dc:date>2017-08-10T19:02:38Z</dc:date>
    </item>
  </channel>
</rss>

