Update MapImageLayer.cs

This commit is contained in:
Clemens 2021-11-28 23:50:13 +01:00
parent 5111708ac6
commit 6178ece996

View file

@ -87,8 +87,7 @@ namespace MapControl
} }
/// <summary> /// <summary>
/// Description of the MapImageLayer. /// Description of the layer. Used to display copyright information on top of the map.
/// Used to display copyright information on top of the map.
/// </summary> /// </summary>
public string Description public string Description
{ {
@ -171,18 +170,7 @@ namespace MapControl
} }
/// <summary> /// <summary>
/// Optional foreground brush. /// Optional background brush. Sets MapBase.Background if not null and this layer is the base map layer.
/// Sets MapBase.Foreground if not null and the MapImageLayer is the base map layer.
/// </summary>
public Brush MapForeground
{
get { return (Brush)GetValue(MapForegroundProperty); }
set { SetValue(MapForegroundProperty, value); }
}
/// <summary>
/// Optional background brush.
/// Sets MapBase.Background if not null and the MapImageLayer is the base map layer.
/// </summary> /// </summary>
public Brush MapBackground public Brush MapBackground
{ {
@ -190,6 +178,15 @@ namespace MapControl
set { SetValue(MapBackgroundProperty, value); } set { SetValue(MapBackgroundProperty, value); }
} }
/// <summary>
/// Optional foreground brush. Sets MapBase.Foreground if not null and this layer is the base map layer.
/// </summary>
public Brush MapForeground
{
get { return (Brush)GetValue(MapForegroundProperty); }
set { SetValue(MapForegroundProperty, value); }
}
/// <summary> /// <summary>
/// The current BoundingBox /// The current BoundingBox
/// </summary> /// </summary>