// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control
// Copyright © 2024 Clemens Fischer
// Licensed under the Microsoft Public License (Ms-PL)
namespace MapControl
{
///
/// ContentControl placed on a MapPanel at a geographic location specified by the Location property.
///
public class MapContentControl : ContentControl
{
public static readonly StyledProperty AutoCollapseProperty =
DependencyPropertyHelper.AddOwner(MapPanel.AutoCollapseProperty);
public static readonly StyledProperty LocationProperty =
DependencyPropertyHelper.AddOwner(MapPanel.LocationProperty);
///
/// Gets/sets MapPanel.AutoCollapse.
///
public bool AutoCollapse
{
get => GetValue(AutoCollapseProperty);
set => SetValue(AutoCollapseProperty, value);
}
///
/// Gets/sets MapPanel.Location.
///
public Location Location
{
get => GetValue(LocationProperty);
set => SetValue(LocationProperty, value);
}
}
///
/// MapContentControl with a Pushpin Style.
///
public class Pushpin : MapContentControl
{
}
}