diff --git a/MapControl/Avalonia/Themes/Generic.axaml b/MapControl/Avalonia/Themes/Generic.axaml index caecb9b0..377c268e 100644 --- a/MapControl/Avalonia/Themes/Generic.axaml +++ b/MapControl/Avalonia/Themes/Generic.axaml @@ -36,9 +36,11 @@ + + - - + + 0d) { - Point = new Point(x, y), - Size = new Size(r, r), - SweepDirection = SweepDirection.Clockwise - }; + figure.Segments.Add(new ArcSegment + { + Point = new Point(x, y), + Size = new Size(r, r), + SweepDirection = SweepDirection.Clockwise + }); + } } } } diff --git a/MapControl/UWP/Themes/Generic.xaml b/MapControl/UWP/Themes/Generic.xaml index 2194b398..a84410d9 100644 --- a/MapControl/UWP/Themes/Generic.xaml +++ b/MapControl/UWP/Themes/Generic.xaml @@ -50,9 +50,11 @@