mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update default ManipulationModes for WPF
This commit is contained in:
parent
7fbdbf74b9
commit
24c2076dae
|
|
@ -17,7 +17,8 @@ namespace MapControl
|
||||||
nameof(MouseWheelZoomDelta), typeof(double), typeof(Map), new PropertyMetadata(1d));
|
nameof(MouseWheelZoomDelta), typeof(double), typeof(Map), new PropertyMetadata(1d));
|
||||||
|
|
||||||
public static readonly DependencyProperty ManipulationModeProperty = DependencyProperty.Register(
|
public static readonly DependencyProperty ManipulationModeProperty = DependencyProperty.Register(
|
||||||
nameof(ManipulationMode), typeof(ManipulationModes), typeof(Map), new PropertyMetadata(ManipulationModes.All));
|
nameof(ManipulationMode), typeof(ManipulationModes), typeof(Map),
|
||||||
|
new PropertyMetadata(ManipulationModes.Scale | ManipulationModes.Translate));
|
||||||
|
|
||||||
private Point? mousePosition;
|
private Point? mousePosition;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue