I have started to develop a WPF application with Mapsui. First I tried to get familiar with Mapsui in a seperat Visual Studio project. Now I want to include my code to my main project.
At the moment I get the following error message from which I can't figure out:
System.Exception: "PresentationSource is null"
In my test project for Mapsui I did not get this error.
I also tried to include my application code into the test project. But here I also get this error message.
<Grid Grid.Column="1" Grid.Row="0" Margin="10,10,10,10">
<xaml:MapControl Name="MapControl"></xaml:MapControl>
</Grid>
Maybe someone knows ideas I should take a closer look at or has a direct solution. Many thanks for your help!