I need to write code that returns the geographical coordinates of the location on the map where the mouse is clicked v100
Yuri,
You can try something like this:
myMapView.GeoViewTapped += myView_GeoViewTapped;
...
GeoViewInputEventArgs also have a 'Location" property already converted to map coordinates, so you don't need to do the ScreenToLocation call, simplifying the first two lines:
MapPoint p1 = e.Location;
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.