<?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 App loading blank when referring the map display sample in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/app-loading-blank-when-referring-the-map-display/m-p/1124202#M10690</link>
    <description>&lt;P&gt;Hi team we are referring this simple map display sample:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/net/forms/sample-code/display-map/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/net/forms/sample-code/display-map/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;We created a blank solution and added the following code:&lt;/P&gt;&lt;P&gt;MainPage.xaml ==Start==&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;BR /&gt;&amp;lt;ContentPage xmlns="&lt;A href="http://xamarin.com/schemas/2014/forms" target="_blank" rel="noopener"&gt;http://xamarin.com/schemas/2014/forms&lt;/A&gt;"&lt;BR /&gt;xmlns:x="&lt;A href="http://schemas.microsoft.com/winfx/2009/xaml" target="_blank" rel="noopener"&gt;http://schemas.microsoft.com/winfx/2009/xaml&lt;/A&gt;"&lt;BR /&gt;xmlns:esri="clr-namespace:Esri.ArcGISRuntime.Xamarin.Forms;assembly=Esri.ArcGISRuntime.Xamarin.Forms"&lt;BR /&gt;&lt;BR /&gt;x:Class="LicenseIssue.MainPage"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;StackLayout&amp;gt;&lt;BR /&gt;&amp;lt;Grid&amp;gt;&lt;BR /&gt;&amp;lt;esri:MapView x:Name="GMyMapView"/&amp;gt;&lt;BR /&gt;&amp;lt;/Grid&amp;gt;&lt;BR /&gt;&amp;lt;/StackLayout&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/ContentPage&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MainPage.xaml ==End==&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MainPage.xaml.cs ==Start==&lt;/P&gt;&lt;P&gt;using System;&lt;BR /&gt;using System.Collections.Generic;&lt;BR /&gt;using System.ComponentModel;&lt;BR /&gt;using System.Linq;&lt;BR /&gt;using System.Text;&lt;BR /&gt;using System.Threading.Tasks;&lt;BR /&gt;using Esri.ArcGISRuntime.Mapping;&lt;BR /&gt;using Xamarin.Forms;&lt;/P&gt;&lt;P&gt;namespace LicenseIssue&lt;BR /&gt;{&lt;BR /&gt;public partial class MainPage : ContentPage&lt;BR /&gt;{&lt;BR /&gt;public MainPage()&lt;BR /&gt;{&lt;BR /&gt;var a = new Esri.ArcGISRuntime.Xamarin.Forms.MapView();&lt;BR /&gt;//InitializeComponent();&lt;BR /&gt;InitializeComponent();&lt;BR /&gt;// Create the UI, setup the control references and execute initialization&lt;BR /&gt;Initialize();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;private void Initialize()&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;// Create new Map with basemap&lt;BR /&gt;Map myMap = new Map(BasemapStyle.ArcGISImageryStandard);&lt;/P&gt;&lt;P&gt;// Assign the map to the MapView&lt;BR /&gt;GMyMapView.Map = myMap;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;MainPage.xaml.cs ==End==&lt;/P&gt;&lt;P&gt;Attached screenshot of the blank app loading&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrentSlone3_0-1639037349429.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/29227i567A9BF85DB2637B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrentSlone3_0-1639037349429.png" alt="BrentSlone3_0-1639037349429.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Dec 2021 08:09:54 GMT</pubDate>
    <dc:creator>BrentSlone3</dc:creator>
    <dc:date>2021-12-09T08:09:54Z</dc:date>
    <item>
      <title>App loading blank when referring the map display sample</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/app-loading-blank-when-referring-the-map-display/m-p/1124202#M10690</link>
      <description>&lt;P&gt;Hi team we are referring this simple map display sample:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/net/forms/sample-code/display-map/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/net/forms/sample-code/display-map/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;We created a blank solution and added the following code:&lt;/P&gt;&lt;P&gt;MainPage.xaml ==Start==&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;BR /&gt;&amp;lt;ContentPage xmlns="&lt;A href="http://xamarin.com/schemas/2014/forms" target="_blank" rel="noopener"&gt;http://xamarin.com/schemas/2014/forms&lt;/A&gt;"&lt;BR /&gt;xmlns:x="&lt;A href="http://schemas.microsoft.com/winfx/2009/xaml" target="_blank" rel="noopener"&gt;http://schemas.microsoft.com/winfx/2009/xaml&lt;/A&gt;"&lt;BR /&gt;xmlns:esri="clr-namespace:Esri.ArcGISRuntime.Xamarin.Forms;assembly=Esri.ArcGISRuntime.Xamarin.Forms"&lt;BR /&gt;&lt;BR /&gt;x:Class="LicenseIssue.MainPage"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;StackLayout&amp;gt;&lt;BR /&gt;&amp;lt;Grid&amp;gt;&lt;BR /&gt;&amp;lt;esri:MapView x:Name="GMyMapView"/&amp;gt;&lt;BR /&gt;&amp;lt;/Grid&amp;gt;&lt;BR /&gt;&amp;lt;/StackLayout&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/ContentPage&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MainPage.xaml ==End==&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MainPage.xaml.cs ==Start==&lt;/P&gt;&lt;P&gt;using System;&lt;BR /&gt;using System.Collections.Generic;&lt;BR /&gt;using System.ComponentModel;&lt;BR /&gt;using System.Linq;&lt;BR /&gt;using System.Text;&lt;BR /&gt;using System.Threading.Tasks;&lt;BR /&gt;using Esri.ArcGISRuntime.Mapping;&lt;BR /&gt;using Xamarin.Forms;&lt;/P&gt;&lt;P&gt;namespace LicenseIssue&lt;BR /&gt;{&lt;BR /&gt;public partial class MainPage : ContentPage&lt;BR /&gt;{&lt;BR /&gt;public MainPage()&lt;BR /&gt;{&lt;BR /&gt;var a = new Esri.ArcGISRuntime.Xamarin.Forms.MapView();&lt;BR /&gt;//InitializeComponent();&lt;BR /&gt;InitializeComponent();&lt;BR /&gt;// Create the UI, setup the control references and execute initialization&lt;BR /&gt;Initialize();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;private void Initialize()&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;// Create new Map with basemap&lt;BR /&gt;Map myMap = new Map(BasemapStyle.ArcGISImageryStandard);&lt;/P&gt;&lt;P&gt;// Assign the map to the MapView&lt;BR /&gt;GMyMapView.Map = myMap;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;MainPage.xaml.cs ==End==&lt;/P&gt;&lt;P&gt;Attached screenshot of the blank app loading&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrentSlone3_0-1639037349429.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/29227i567A9BF85DB2637B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrentSlone3_0-1639037349429.png" alt="BrentSlone3_0-1639037349429.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 08:09:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/app-loading-blank-when-referring-the-map-display/m-p/1124202#M10690</guid>
      <dc:creator>BrentSlone3</dc:creator>
      <dc:date>2021-12-09T08:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: App loading blank when referring the map display sample</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/app-loading-blank-when-referring-the-map-display/m-p/1124450#M10691</link>
      <description>&lt;P&gt;Did you set the ApiKey? The basemap you're using requires that to be set.&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/net/get-started/#3-access-services-and-content-with-an-api-key" target="_blank"&gt;https://developers.arcgis.com/documentation/mapping-apis-and-services/security/#api-keyshttps://developers.arcgis.com/net/get-started/#3-access-services-and-content-with-an-api-key&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Otherwise try Basemap.CreateImagery() which uses a non-metered service.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 17:09:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/app-loading-blank-when-referring-the-map-display/m-p/1124450#M10691</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2021-12-09T17:09:57Z</dc:date>
    </item>
  </channel>
</rss>

