Added Avalonia sample application

This commit is contained in:
ClemensFischer 2024-05-24 15:28:28 +02:00
parent dc8df5e486
commit 192ecbf4df
12 changed files with 364 additions and 12 deletions

View file

@ -87,6 +87,11 @@ namespace SampleApplication
map.TargetHeading = 0d;
}
private void MapDoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
{
map.TargetCenter = map.ViewToLocation(e.GetPosition(map));
}
private async void MapPointerPressed(object sender, PointerRoutedEventArgs e)
{
if (e.Pointer.PointerDeviceType == PointerDeviceType.Mouse)