laptop and a wrench

Error

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
Número de ID del error BUG-000165813
EnviadoMarch 8, 2024
Última modificaciónMay 9, 2024
Relacionado conArcGIS Pro SDK for .NET
Versión encontrada3.2
Sistema operativoWindows OS
Versión de sistema operativoN/A
EstadoIn Review

Solución alternativa

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.

Pasos para reproducir

ID del error: BUG-000165813

Software:

  • ArcGIS Pro SDK for .NET

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga