Update LocationAnimator.Avalonia.cs

This commit is contained in:
ClemensFischer 2024-05-21 16:55:06 +02:00
parent 52656ca8f4
commit fac62cd1f7

View file

@ -10,7 +10,6 @@ namespace MapControl
{
public override Location Interpolate(double progress, Location oldValue, Location newValue)
{
System.Diagnostics.Debug.WriteLine(progress);
return new Location(
(1d - progress) * oldValue.Latitude + progress * newValue.Latitude,
(1d - progress) * oldValue.Longitude + progress * newValue.Longitude);