mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-01-30 20:34:38 +01:00
Update MainWindow.xaml.cs
This commit is contained in:
parent
a76d459d2e
commit
f4481c31f0
|
|
@ -69,10 +69,6 @@ namespace SampleApplication
|
|||
{
|
||||
map.TargetCenter = map.ViewToLocation(e.GetPosition(map));
|
||||
}
|
||||
else if (Keyboard.Modifiers.HasFlag(ModifierKeys.Shift))
|
||||
{
|
||||
map.ProjectionCenter = map.ViewToLocation(e.GetPosition(map));
|
||||
}
|
||||
else if (Keyboard.Modifiers.HasFlag(ModifierKeys.Control) &&
|
||||
map.MapLayer is WmsImageLayer wmsLayer)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue