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;
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.