2012-11-23 16:16:09 +01:00
|
|
|
|
// XAML Map Control - http://xamlmapcontrol.codeplex.com/
|
2015-01-20 17:52:02 +01:00
|
|
|
|
// © 2015 Clemens Fischer
|
2012-11-23 16:16:09 +01:00
|
|
|
|
// Licensed under the Microsoft Public License (Ms-PL)
|
|
|
|
|
|
|
2014-07-01 18:57:44 +02:00
|
|
|
|
#if WINDOWS_RUNTIME
|
2012-12-06 23:28:12 +01:00
|
|
|
|
using Windows.UI.Xaml.Controls;
|
|
|
|
|
|
#else
|
|
|
|
|
|
using System.Windows.Controls;
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
2012-11-23 16:16:09 +01:00
|
|
|
|
namespace MapControl
|
|
|
|
|
|
{
|
2012-12-06 23:28:12 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Displays a pushpin at a geographic location provided by the MapPanel.Location attached property.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class Pushpin : ContentControl
|
2012-11-23 16:16:09 +01:00
|
|
|
|
{
|
|
|
|
|
|
public Pushpin()
|
|
|
|
|
|
{
|
|
|
|
|
|
DefaultStyleKey = typeof(Pushpin);
|
|
|
|
|
|
MapPanel.AddParentMapHandlers(this);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|