var myLayer = new ArcGISLocalFeatureLayer(); // all code required to create it
myLayer.Initialize();
myLayer.Update();
So the TPK can not be displayed. Even if I set Map.Extent to the (Full)Extent of the new basemap.
which version of the WPF SDK are you using?
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.
Sorry to tell you this: that is possible.
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.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.