mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
27 lines
825 B
C#
27 lines
825 B
C#
// XAML Map Control - http://xamlmapcontrol.codeplex.com/
|
|
// Copyright © 2013 Clemens Fischer
|
|
// Licensed under the Microsoft Public License (Ms-PL)
|
|
|
|
using Windows.UI.Xaml;
|
|
using Windows.UI.Xaml.Shapes;
|
|
|
|
namespace MapControl
|
|
{
|
|
public partial class MapPolyline : Path
|
|
{
|
|
/// <summary>
|
|
/// Property type declared as object instead of IEnumerable.
|
|
/// See here: http://stackoverflow.com/q/10544084/1136211
|
|
/// </summary>
|
|
public static readonly DependencyProperty LocationsProperty = DependencyProperty.Register(
|
|
"Locations", typeof(object), typeof(MapPolyline),
|
|
new PropertyMetadata(null, LocationsPropertyChanged));
|
|
|
|
public MapPolyline()
|
|
{
|
|
Data = Geometry;
|
|
MapPanel.AddParentMapHandlers(this);
|
|
}
|
|
}
|
|
}
|