dstubbinesriuk-esridist

How to get correct mapPoint from mouse events in Stereo Map

Discussion created by dstubbinesriuk-esridist Employee on Mar 16, 2018
Latest reply on Mar 23, 2018 by dstubbinesriuk-esridist

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

Outcomes