I'm having trouble using the SDK to return correct mapPoints from a mouse event when using the stereo view.
There are 2 issues
1)There is no Z value being returned, although the cursor has a height in this view
2) The X and Y being returned appear incorrect, in my sample data they are a few hundred meters out (this may be related to lack of z values)
The simplest way to demonstrate this is to use the community sample arcgis-pro-sdk-community-samples/Map-Exploration/MapToolWithOverlayControl at master · Esri/arcgis-pro-sdk-community-sam…
this works with maps and scenes but show the same error I'm seeing in my code, when used with a StereoMap.
Is there an additional approach needed when working with events in the stereo map or is it a bug in ClientToMap when used in a stereo map.
thx
Dom
Try using ScreenToMap instead.
Alternatively I find it easier to use a point sketch tool for most of these things and get the returned geometry as a mappoint (with x,y,z coords).