XAML-Map-Control/MapControl/Map.cs

35 lines
713 B
C#
Raw Normal View History

// XAML Map Control - http://xamlmapcontrol.codeplex.com/
2012-05-04 12:52:20 +02:00
// Copyright © 2012 Clemens Fischer
// Licensed under the Microsoft Public License (Ms-PL)
#if WINRT
using Windows.Foundation;
#else
2012-04-25 22:02:53 +02:00
using System.Windows;
#endif
2012-04-25 22:02:53 +02:00
namespace MapControl
{
2012-05-04 12:52:20 +02:00
/// <summary>
/// MapBase with input event handling.
2012-05-04 12:52:20 +02:00
/// </summary>
public partial class Map : MapBase
2012-04-25 22:02:53 +02:00
{
private double mouseWheelZoom = 1d;
private Point? mousePosition;
2012-04-25 22:02:53 +02:00
public Map()
2012-04-25 22:02:53 +02:00
{
Initialize();
2012-04-25 22:02:53 +02:00
}
partial void Initialize();
2012-04-25 22:02:53 +02:00
public double MouseWheelZoom
2012-04-25 22:02:53 +02:00
{
get { return mouseWheelZoom; }
set { mouseWheelZoom = value; }
2012-04-25 22:02:53 +02:00
}
}
}