I noticed that screenToLocation was returning some bad values. While tracking that down I learned that spatial reference is an important factor here for getting correct results.
If the spatial reference is set using the Map class constructor then I get correct results from screenToLocation, which is great! The bad news is that map imagery no longer loads. I only get map imagery if use the Map class constructor that takes a basemap. Setting basemap after construction is not working either to get the imagery to load.
I cannot find any way to set the spatial reference for the map other than at construction.
How can I get this to work?
Solved! Go to Solution.
side note - that layer returns a 404 for me in the browser, so it may not work...