When zooming to a polygon feature in the Stereo Map, the position is about 800 meters displaced to the right (I made sure that the polygon has correct z-values):
await QueuedTask.Run(async () =>
{
FeatureLayer featLayer = LayerUtils.GetFeatureLayerByName("Polygon");
Feature feature = await FeatureUtils.GetFirstFeatureAsync(featLayer.GetFeatureClass(), false);
MapView.Active.ZoomTo(layer, feature.GetObjectID());
});
The same happens when zooming to a point geometry (please note that the point has a z-value):
MapPoint mapPoint = MapPointBuilderEx.CreateMapPoint(2675090, 1245480, 470, spatialRef);
await QueuedTask.Run(() =>
{
MapView.Active.ZoomTo(mapPoint);
});
When zooming to a layer in the Stereo Map through the GUI, the extent is displaced as well.
As a workaround I tried to link the Stereo Map and the Map, activate the Map and zoom to the layer in the Map. However, the Stereo Map does not follow the Map. (The other way round, the Map follows the Stereo Map).
I noticed that the displacement isn't always 800 m to the right. It varies according to the loaded stereo image pair. On a longer stereo image pair (ADS strip) the displacement is 3.5 km to the right.