Thomas Stocker
Thomas Stocker
Have you a reproduction sample or is the source Code of this App on Github available?
I had a quick look at the sample and it worked for me, I guess I have to wait long enough to experience the freezing.
I tried it in the Simulator where it worked, so I will test it on a Real device.
I can now reproduce it, on real Hardware i attached Xamarin Profiler and saw that in the Sample 4'171,175 tiles are created and 1069 Tiles are kept live, This is...
I think it is a threading issue because two zooms are done on mapsui one to level 6 and the other to level 16 and when they run in parellel...
This means you should replace the center and zoom with a navigate: Replace: ``` mapView.Navigator.CenterOn(mapView.MyLocationLayer.MyLocation.ToMapsui()); mapView.Navigator.ZoomTo(mapView.Map.Resolutions[6]); ``` with: ``` mapView.Navigator.NavigateTo(mapView.MyLocationLayer.MyLocation.ToMapsui(), mapView.Map.Resolutions[6]); ```
I agree with that. This shouldn't happen.
I'll have a look into it, but can't promise anything.
Have you tried this - updates the Roslyn Compiler that is used for compiling a project. https://www.nuget.org/packages/Microsoft.Net.Compilers.Toolset By using Directory.Build.props you only have to to use it once. ``` all...
One possible solution would be to mark these fields as internal and add assembly:InternelsVisibleTo("Mapsui.VectorTileLayers.Core") So VectorTileLayers could access the internal Variables, without opening this to everyone until a final solution...