Hello,
I am trying to utilize ESRI ArcGIS Runtime SDK MAUI to display map and following is the link to the example I am trying to execute https://developers.arcgis.com/net/maui/sample-code/display-map/ .
The error I am getting is "catastrophic failure".I also tried adding MMPK as basemap but got the same error.
Framework :- net6.0-windows10.0.19041.0
Library :- ESRI.ArcGISRuntime.MAUI 200.0.0
Need help in understanding this error.
Thank you in advance.
The error is quite generic and there could be varied reasons for it. I suggest you try following to ensure your MAUI environment is set up correctly:
- Try an out-of-the box MAUI app using Visual Studio template
- Try creating a new project using ArcGIS Maps SDK Template. If yo haven't installed templates yet, you can look them up in Extensions dialog box from Visual Studio
- Ensure you have a valid API Key to access base maps.
Let me know if this helps or is more meaningful to determine the cause of the error.
Thanks for the suggestions.It put me in right direction and came to know that I was missing the .useArcGISRuntime() statement from my code. Now I can display the maps.Thank you again
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 !