What is event to subscribe to in ArcPro SDK for when all Layers on the active map is loaded?
I.e. not new layers being added to the map, but when starting ArcPro, when the layers that had been added prior to closing is "loaded". Is there such event(s)?
Solved! Go to Solution.
Decided to use:
ActiveMapViewChangedEvent.Subscribe(args =>
{
// here check for the MapView.Active?.Map.GetLayersAsFlattenedList()
.OfType<FeatureLayer>().ToList() to verify layers of interest are loaded
});
Decided to use:
ActiveMapViewChangedEvent.Subscribe(args =>
{
// here check for the MapView.Active?.Map.GetLayersAsFlattenedList()
.OfType<FeatureLayer>().ToList() to verify layers of interest are loaded
});