2012-11-22 21:42:29 +01:00
|
|
|
|
// XAML Map Control - http://xamlmapcontrol.codeplex.com/
|
2014-01-10 20:11:39 +01:00
|
|
|
|
// Copyright © 2014 Clemens Fischer
|
2012-11-22 21:42:29 +01:00
|
|
|
|
// Licensed under the Microsoft Public License (Ms-PL)
|
|
|
|
|
|
|
|
|
|
|
|
using System.Windows;
|
2012-12-06 23:28:12 +01:00
|
|
|
|
using System.Windows.Controls;
|
2012-11-22 21:42:29 +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-22 21:42:29 +01:00
|
|
|
|
{
|
|
|
|
|
|
static Pushpin()
|
|
|
|
|
|
{
|
2013-08-17 08:41:11 +02:00
|
|
|
|
DefaultStyleKeyProperty.OverrideMetadata(
|
2012-11-22 21:42:29 +01:00
|
|
|
|
typeof(Pushpin), new FrameworkPropertyMetadata(typeof(Pushpin)));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|