mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-09 08:25:10 +00:00
Added Avalonia sample application
This commit is contained in:
parent
dc8df5e486
commit
192ecbf4df
12 changed files with 364 additions and 12 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue