Solved! Go to Solution.
var myLayer = new ArcGISLocalFeatureLayer(); // all code required to create it
myLayer.Initialize();
myLayer.Update();
If i remember correctly, the projection of the Map can not be changed after it has been set, even after you have removed all the layers. You will need to create a new Map object and set the projection.
var myLayer = new ArcGISLocalFeatureLayer(); // all code required to create it
myLayer.Initialize();
myLayer.Update();
Sorry to tell you this: that is possible.
I'm pretty sure it is not. In the WPF SDK, after you have loaded your first layer and projection of the Map object is set, the Map projection can not be changed to another projection. Either way, you have solved your problem. I just want to make sure people are aware of this possible caveat in WPF SDK.
which version of the WPF SDK are you using?