The workaround for now might be you to set the Label of the corresponding LayerItemViewModel when you change the DisplayName.
layer.DisplayName= "newDisplayName"; layer.ShowLegend=false; layer.ShowLegend=true;
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.