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-p...
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.
Thanks for the suggestions, sadly screentomap suffers the same fate. Although a sketch would work in the sample code it doesn’t work for the actual use case as we need to track the mouse move rather than clicks or sketch completion. The sketch geometry is only correctly returned on completion.
UPDATE*** looking at this a little more it seems related to the fact that the stereo map is not oriented as a map but is oriented to provide left right images for stereo, essentialy it is rotated, but the ToMapPoint doesn't reflect this, clearly the info is in there somewhere as sketch tools work on completion.