Version 5.3. Fixed WMTS layer, MapItem mouse handling

This commit is contained in:
ClemensF 2020-06-20 13:19:36 +02:00
parent 5c4c328216
commit 82e7f1953c
19 changed files with 80 additions and 60 deletions

View file

@ -23,8 +23,6 @@ namespace MapControl
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
{
e.Handled = true;
(ItemsControl.ItemsControlFromItemContainer(this) as MapItemsControl)?.OnItemClicked(
this, Keyboard.Modifiers.HasFlag(ModifierKeys.Control), Keyboard.Modifiers.HasFlag(ModifierKeys.Shift));
}