MapToScreen / ScreenToMap functionality (or similar)

787
3
Jump to solution
12-14-2021 09:28 PM
LilianaIvan
New Contributor
I need to display latitude/longitude coordinates of the mouse pointer on the map, as the user moves the mouse.

I searched the examples and found this API [Map.ScreenToMap] in an older version of the .NET SDK for WPF, which has been retired.

Is there equivalent/similar functionality in the current Esri.ArcGISRuntime.WPF 100.12.0? Or do I need more than the free developer account for this kind of functionality?

0 Kudos
2 Solutions

Accepted Solutions
LilianaIvan
New Contributor

I found the new API

MapView.ScreenToLocation(screenPoint)

Why were both the class and the method name changed? Anyone?

View solution in original post

0 Kudos
dotMorten_esri
Esri Notable Contributor

Regarding name change: To get naming consistency between 2D and 3D (ie maps and scenes). And as Joe said, this is an entirely new SDK. You'll find many similarities, but expect many concepts to be refined.

View solution in original post

3 Replies
LilianaIvan
New Contributor

I found the new API

MapView.ScreenToLocation(screenPoint)

Why were both the class and the method name changed? Anyone?

0 Kudos
JoeHershman
MVP Regular Contributor

Runtime is a completely new API built from the ground up.

Thanks,
-Joe
dotMorten_esri
Esri Notable Contributor

Regarding name change: To get naming consistency between 2D and 3D (ie maps and scenes). And as Joe said, this is an entirely new SDK. You'll find many similarities, but expect many concepts to be refined.