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).