From 6542596fd51ff2d9b8a7c9d4a1fe2814cbaff7c0 Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Wed, 5 Nov 2025 16:25:19 +0100 Subject: [PATCH] Default Pushpin Style --- MapControl/Avalonia/Themes/Generic.axaml | 6 ++- MapControl/Shared/PushpinBorder.cs | 52 +++++++++++++----------- MapControl/UWP/Themes/Generic.xaml | 6 ++- MapControl/WPF/Themes/Generic.xaml | 6 ++- MapControl/WinUI/Themes/Generic.xaml | 6 ++- 5 files changed, 45 insertions(+), 31 deletions(-) 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 @@