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;
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.