mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 22:46:58 +00:00
Removed UseLayoutRounding handling from MapPanel
This commit is contained in:
parent
9cb4a9be7e
commit
93b58fa01e
7 changed files with 11 additions and 31 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ namespace MapControl
|
|||
element.RenderTransformOrigin = new RelativePoint(originX, originY, RelativeUnit.Relative);
|
||||
}
|
||||
|
||||
private Controls ChildElements => Children;
|
||||
protected Controls ChildElements => Children;
|
||||
|
||||
private static void SetVisible(Control element, bool visible)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue