mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Map input event handling
This commit is contained in:
parent
b605433929
commit
8c05f7d581
3 changed files with 35 additions and 37 deletions
|
|
@ -26,8 +26,6 @@ namespace MapControl
|
|||
ManipulationCompleted += OnManipulationCompleted;
|
||||
}
|
||||
|
||||
private bool? manipulationEnabled;
|
||||
|
||||
private void OnPointerWheelChanged(object sender, PointerRoutedEventArgs e)
|
||||
{
|
||||
if (e.Pointer.PointerDeviceType == PointerDeviceType.Mouse)
|
||||
|
|
@ -40,6 +38,8 @@ namespace MapControl
|
|||
}
|
||||
}
|
||||
|
||||
private bool? manipulationEnabled;
|
||||
|
||||
private void OnPointerPressed(object sender, PointerRoutedEventArgs e)
|
||||
{
|
||||
// Set manipulationEnabled before ManipulationStarted.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue