Hi, noob here.
I have created an Location Platform Account (or so I think... by the way, how can I check what type my account is?).
Then I followed this tutorial to create an API key:
And followed this tutorial to create WPF app with a simple map:
https://developers.arcgis.com/net/maps-2d/tutorials/display-a-map/
But when I run the app, it shows MainWindow, with the text "powered by Esri" in bottom-right corner, but no map is shown.
In output window, it says "The provided APIKey is invalid, expired or does not have access to the resource."
What am I doing wrong?
note - when creating the API key, in the Referrers step, I did put "*", as I am not sure what to write there... (my app is WPF, so no domain involved...?¿)
Solved! Go to Solution.
Leave the referrer blank and it should work. I reproduced putting in a * will break it.
You can also specify an actual referrer url like this:
And then in the app configure it to use that referrer:
Also make sure you enable at least the basemap service (and anything else you plan on using the key for)
Leave the referrer blank and it should work. I reproduced putting in a * will break it.
You can also specify an actual referrer url like this:
And then in the app configure it to use that referrer:
Also make sure you enable at least the basemap service (and anything else you plan on using the key for)
That made it! thanks mate.
By the way, I have come to know about all this ArcGIS SDK and its possibilites after trying your NmeaParser. Learning a lot with it! (even if its too advanced for my current c# level lol)