mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-01-03 23:30:25 +01:00
Update MapItemsControl.cs
This commit is contained in:
parent
dc25724c71
commit
a7c38966fa
|
|
@ -69,13 +69,14 @@ namespace MapControl
|
|||
SelectItems(item =>
|
||||
{
|
||||
var pos = MapPanel.GetViewPosition(ContainerFromItem(item));
|
||||
|
||||
return pos.HasValue && predicate(pos.Value);
|
||||
});
|
||||
}
|
||||
|
||||
public void SelectItemsInRect(Rect rect)
|
||||
{
|
||||
SelectItemsByPosition(p => rect.Contains(p));
|
||||
SelectItemsByPosition(rect.Contains);
|
||||
}
|
||||
|
||||
protected internal void OnItemClicked(MapItem mapItem, bool controlKey)
|
||||
|
|
|
|||
Loading…
Reference in a new issue