mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 15:05:50 +00:00
Version 1.12.1: Some cleanup and minor improvements.
This commit is contained in:
parent
4f37eaa914
commit
ed140c6d01
36 changed files with 220 additions and 194 deletions
|
|
@ -173,7 +173,7 @@ namespace ViewModel
|
|||
Interval = TimeSpan.FromSeconds(0.1)
|
||||
};
|
||||
|
||||
timer.Tick += (sender, e) =>
|
||||
timer.Tick += (s, e) =>
|
||||
{
|
||||
var p = Points.Last();
|
||||
p.Location = new Location(p.Location.Latitude + 0.001, p.Location.Longitude + 0.002);
|
||||
|
|
@ -181,7 +181,7 @@ namespace ViewModel
|
|||
if (p.Location.Latitude > 54d)
|
||||
{
|
||||
p.Name = "Stopped";
|
||||
((DispatcherTimer)sender).Stop();
|
||||
((DispatcherTimer)s).Stop();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue