<?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 android map.Loaded handler reports LoadFailed, 7001 &amp;quot;missing spatial reference&amp;quot; sporadically in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/xamarin-android-map-loaded-handler-reports/m-p/320759#M3783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TBH I'm a little (but pleasantly) surprised that URL can be used for a Basemap, as that's the endpoint for a layer and not a basemap item. The API reference even indicate that shouldn't have worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/482041_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, as a workaround, you could try forcing the SR instead :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var bm = new Basemap(new ArcGISTiledLayer(new Uri("https://services.arcgisonline.com/ArcGIS/rest/services/USA_Topo_Maps/MapServer"));&lt;BR /&gt; Map map = new Map(SpatialReferences.WebMercator) { Basemap = bm };&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You could also try not forcing the SR, but create the Basemap as I did above, and see if that resolves your issue (just to confirm if there's something hokey about using the basemap constructor with a service uri instead of a basemap uri):&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Map map = new Map(bm);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Feb 2020 19:06:27 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2020-02-12T19:06:27Z</dc:date>
    <item>
      <title>xamarin android map.Loaded handler reports LoadFailed, 7001 "missing spatial reference" sporadically</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/xamarin-android-map-loaded-handler-reports/m-p/320758#M3782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What can I do to mitigate this server error on AGOL. There doesn't appear to be a way where I can set a spatial reference. Here's my boilerplate in OnCreate:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_myMapView = new MapView(Activity);&lt;BR /&gt; _myMapView.InteractionOptions = new MapViewInteractionOptions&lt;BR /&gt; {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;IsMagnifierEnabled = false&lt;BR /&gt; };&lt;BR /&gt;Basemap bm = null;&lt;BR /&gt; bm = new Basemap(new Uri(Resources.GetText(Resource.String.uri_map_basemap)));&lt;BR /&gt; Debug.Assert(bm != null, "Shizen!! BaseMap is null!!");&lt;BR /&gt; _map = new Map(bm);&lt;/P&gt;&lt;P&gt;_map.LoadStatusChanged += OnMapsLoadStatusChanged;&lt;BR /&gt; _myMapView.Map = _map;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works usually, but sometimes (varying percentage based on the weather I suppose) throws a rod:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="481956" alt="debugger locals window" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/481956_mapLoadError.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breakpoint is at the top of _map.Loaded handler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VisualStudio 2019; EsriArcGISRuntime v 100.6,&amp;nbsp;&lt;SPAN&gt;EsriArcGISRuntime.ToolKit v 100.4,&amp;nbsp;EsriArcGISRuntime.Xamarin.Android v 100.6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I test on a Samsung Galaxy S8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here's the connexn URI:&amp;nbsp;&lt;A class="link-titled" href="https://services.arcgisonline.com/ArcGIS/rest/services/USA_Topo_Maps/MapServer" title="https://services.arcgisonline.com/ArcGIS/rest/services/USA_Topo_Maps/MapServer"&gt;USA_Topo_Maps (MapServer)&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 00:45:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/xamarin-android-map-loaded-handler-reports/m-p/320758#M3782</guid>
      <dc:creator>ITS_JohnColaneri</dc:creator>
      <dc:date>2020-02-12T00:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: xamarin android map.Loaded handler reports LoadFailed, 7001 "missing spatial reference" sporadically</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/xamarin-android-map-loaded-handler-reports/m-p/320759#M3783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TBH I'm a little (but pleasantly) surprised that URL can be used for a Basemap, as that's the endpoint for a layer and not a basemap item. The API reference even indicate that shouldn't have worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/482041_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, as a workaround, you could try forcing the SR instead :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var bm = new Basemap(new ArcGISTiledLayer(new Uri("https://services.arcgisonline.com/ArcGIS/rest/services/USA_Topo_Maps/MapServer"));&lt;BR /&gt; Map map = new Map(SpatialReferences.WebMercator) { Basemap = bm };&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You could also try not forcing the SR, but create the Basemap as I did above, and see if that resolves your issue (just to confirm if there's something hokey about using the basemap constructor with a service uri instead of a basemap uri):&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Map map = new Map(bm);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 19:06:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/xamarin-android-map-loaded-handler-reports/m-p/320759#M3783</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2020-02-12T19:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: xamarin android map.Loaded handler reports LoadFailed, 7001 "missing spatial reference" sporadically</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/xamarin-android-map-loaded-handler-reports/m-p/320760#M3784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I updated the libraries, and I added this part:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;... new ArcGISTiledLayer( ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I got a little side-tracked and I&amp;nbsp;don't think I've&amp;nbsp;seen that particular problem again, but I'll monitor it for a couple days.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 20:09:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/xamarin-android-map-loaded-handler-reports/m-p/320760#M3784</guid>
      <dc:creator>ITS_JohnColaneri</dc:creator>
      <dc:date>2020-02-13T20:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: xamarin android map.Loaded handler reports LoadFailed, 7001 "missing spatial reference" sporadically</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/xamarin-android-map-loaded-handler-reports/m-p/320761#M3785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't seen the mysterious map load issue again, but curiously, I had to back the library updates down to the ones reported on the initial post. The app started consistently failing route solves inexplicably. This code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RouteTask solveRouteTask = await RouteTask.CreateAsync(uri);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jumps out of the middle of the method without triggering a catch clause.&amp;nbsp; ????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll mark your answer as correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 20:26:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/xamarin-android-map-loaded-handler-reports/m-p/320761#M3785</guid>
      <dc:creator>ITS_JohnColaneri</dc:creator>
      <dc:date>2020-02-18T20:26:08Z</dc:date>
    </item>
  </channel>
</rss>

