mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 06:26:41 +00:00
Updated MapGraticule
This commit is contained in:
parent
0696441a4e
commit
5a681d3580
4 changed files with 16 additions and 57 deletions
|
|
@ -28,9 +28,6 @@ namespace MapControl
|
|||
public static readonly DependencyProperty FontSizeProperty =
|
||||
DependencyPropertyHelper.Register<MapGraticule, double>(nameof(FontSize), 12d);
|
||||
|
||||
public static readonly DependencyProperty StrokeThicknessProperty =
|
||||
DependencyPropertyHelper.Register<MapGraticule, double>(nameof(StrokeThickness), 0.5);
|
||||
|
||||
private readonly Path path = new Path { Data = new PathGeometry() };
|
||||
|
||||
public Brush Foreground
|
||||
|
|
@ -51,12 +48,6 @@ namespace MapControl
|
|||
set => SetValue(FontSizeProperty, value);
|
||||
}
|
||||
|
||||
public double StrokeThickness
|
||||
{
|
||||
get => (double)GetValue(StrokeThicknessProperty);
|
||||
set => SetValue(StrokeThicknessProperty, value);
|
||||
}
|
||||
|
||||
protected override void SetParentMap(MapBase map)
|
||||
{
|
||||
if (map != null && Foreground == null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue