mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
- moved tile rect calculation from MapBase to TileLayer - added TileLayer.ZoomLevelOffset property - Windows Universal sample application in solution MapControl VS2015
25 lines
598 B
C#
25 lines
598 B
C#
// XAML Map Control - http://xamlmapcontrol.codeplex.com/
|
|
// © 2015 Clemens Fischer
|
|
// Licensed under the Microsoft Public License (Ms-PL)
|
|
|
|
#if NETFX_CORE
|
|
using Windows.UI.Xaml.Controls;
|
|
#else
|
|
using System.Windows.Controls;
|
|
#endif
|
|
|
|
namespace MapControl
|
|
{
|
|
/// <summary>
|
|
/// Displays a pushpin at a geographic location provided by the MapPanel.Location attached property.
|
|
/// </summary>
|
|
public class Pushpin : ContentControl
|
|
{
|
|
public Pushpin()
|
|
{
|
|
DefaultStyleKey = typeof(Pushpin);
|
|
MapPanel.AddParentMapHandlers(this);
|
|
}
|
|
}
|
|
}
|