I downloaded ArcGIS SDK and created a first application based on this article:
https://developers.arcgis.com/net/latest/wpf/guide/develop-your-first-map-app.htm
However no map is shown, the window is blank, I can see only the label "Powered by ESRI" at the right bottom.
What can be wrong?
Solved! Go to Solution.
Sounds like the map wasn't able to load the layer. I assume you're connected to the internet?
You could try explicitly loading the first layer in the basemap and observe any load errors.
try
{
await Map.Basemap.Baselayers[0].LoadAsync();
}
catch(System.Exception ex)
{
// Inspect the error here
}
Where 'Map' is the map you assigned to the MapView's Map property.
Sounds like the map wasn't able to load the layer. I assume you're connected to the internet?
You could try explicitly loading the first layer in the basemap and observe any load errors.
try
{
await Map.Basemap.Baselayers[0].LoadAsync();
}
catch(System.Exception ex)
{
// Inspect the error here
}
Where 'Map' is the map you assigned to the MapView's Map property.