mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Fixed MapPath
This commit is contained in:
parent
fead75ffb9
commit
48f1638b45
|
|
@ -29,15 +29,6 @@ namespace MapControl
|
||||||
MapPanel.InitMapElement(this);
|
MapPanel.InitMapElement(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Wrapper for the MapPanel.AutoCollapse attached property.
|
|
||||||
/// </summary>
|
|
||||||
public bool AutoCollapse
|
|
||||||
{
|
|
||||||
get { return (bool)GetValue(AutoCollapseProperty); }
|
|
||||||
set { SetValue(AutoCollapseProperty, value); }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a Location that is used as
|
/// Gets or sets a Location that is used as
|
||||||
/// - either the origin point of a geometry specified in cartesian map units (meters)
|
/// - either the origin point of a geometry specified in cartesian map units (meters)
|
||||||
|
|
|
||||||
|
|
@ -14,10 +14,6 @@ namespace MapControl
|
||||||
{
|
{
|
||||||
public partial class MapPath : Path
|
public partial class MapPath : Path
|
||||||
{
|
{
|
||||||
public static readonly DependencyProperty AutoCollapseProperty = DependencyProperty.Register(
|
|
||||||
nameof(AutoCollapse), typeof(bool), typeof(MapPath),
|
|
||||||
new PropertyMetadata(false, (o, e) => MapPanel.SetAutoCollapse((FrameworkElement)o, (bool)e.NewValue)));
|
|
||||||
|
|
||||||
#region Methods used only by derived classes MapPolyline and MapPolygon
|
#region Methods used only by derived classes MapPolyline and MapPolygon
|
||||||
|
|
||||||
protected void DataCollectionPropertyChanged(DependencyPropertyChangedEventArgs e)
|
protected void DataCollectionPropertyChanged(DependencyPropertyChangedEventArgs e)
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,6 @@ namespace MapControl
|
||||||
{
|
{
|
||||||
public partial class MapPath : Shape, IWeakEventListener
|
public partial class MapPath : Shape, IWeakEventListener
|
||||||
{
|
{
|
||||||
public static readonly DependencyProperty AutoCollapseProperty = MapPanel.AutoCollapseProperty.AddOwner(typeof(MapPath));
|
|
||||||
|
|
||||||
public static readonly DependencyProperty DataProperty = Path.DataProperty.AddOwner(typeof(MapPath));
|
public static readonly DependencyProperty DataProperty = Path.DataProperty.AddOwner(typeof(MapPath));
|
||||||
|
|
||||||
public Geometry Data
|
public Geometry Data
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue