laptop and a wrench

Bug

The OnActiveMapViewChanged sample does not work as expected when changing from a layout tab containing a map to another map view.

ArcGIS Pro SDK for .NET
Bug ID Number BUG-000165813
SubmittedMarch 8, 2024
Last ModifiedMay 9, 2024
Applies toArcGIS Pro SDK for .NET
Version found3.2
Operating SystemWindows OS
Operating System VersionN/A
StatusIn Review

Workaround

If the comparison is made between the map objects instead of the view, the add-in works as expected.

if (activeMapViewChangedEventArgs.IncomingView.Map == _currentActiveMapView.Map) return.

Steps to Reproduce

Bug ID: BUG-000165813

Software:

  • ArcGIS Pro SDK for .NET

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options