Solved! Go to Solution.
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;
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;