private void OnMapViewChanged(ArcGIS.Desktop.Mapping.Events.ActiveMapViewChangedEventArgs args) { if (args.IncomingView == null) { return; } UpdateLayers(args.IncomingView.Map); }
private void OnActiveMapViewChanged(ArcGIS.Desktop.Mapping.Events.ActiveMapViewChangedEventArgs args) { GetActiveMapLayerGDBPathAsync(); return; }