Hi, i download the solution from Display a map (.NET MAUI) | ArcGIS Maps SDK for .NET | Esri Developer & get the API key with Basemap styles service then replace it in the MauiProgram follow all the step by step.
When run, no map showing up except a small Pwered by Esri at the bottom of the MAUI app (for Windows).
I've been playing around and around by manually create another project step by step but all FAIL, the map is not showing at all ! Any suggestion is much appreciate !
Hi,
I have downloaded the solution from here. Link is used from your page ("Download solution"). Replaced API key with my own and it works on Windows.
Hi Dien,
Please check your Visual Studio Output window when running your app. If the problem is with the API key, you'll see something like this in the debug output:
ArcGIS Maps SDK: The API key 'xyz' is invalid, expired or does not have access to the resource.
- 'https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/webmaps/arcgis/topographic'.
Please visit https://developers.arcgis.com/api-keys to configure the API key to access the resource, or to create a new API key.
ArcGIS Maps SDK: Load Error: Basemap
Esri.ArcGISRuntime.Http.ArcGISWebException
The provided APIKey is invalid, expired or does not have access to the resource.