Removed UseLayoutRounding handling from MapPanel

This commit is contained in:
ClemensFischer 2024-05-22 10:16:22 +02:00
parent 9cb4a9be7e
commit 93b58fa01e
7 changed files with 11 additions and 31 deletions

View file

@ -58,7 +58,7 @@ namespace MapControl
(map, value) => map.CoerceHeadingProperty(value));
public static readonly DirectProperty<MapBase, double> ViewScaleProperty =
AvaloniaProperty.RegisterDirect<MapBase, double>(nameof(ViewScale), map => map.ViewScale);
AvaloniaProperty.RegisterDirect<MapBase, double>(nameof(ViewScale), map => map.ViewTransform.Scale);
private CancellationTokenSource centerCts;
private CancellationTokenSource zoomLevelCts;