mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-01-20 15:40:16 +01:00
Update Map.Avalonia.cs
This commit is contained in:
parent
ae1a77679c
commit
7f67e6fe17
|
|
@ -126,8 +126,8 @@ namespace MapControl
|
|||
|
||||
if (ManipulationMode.HasFlag(ManipulationModes.Rotate))
|
||||
{
|
||||
rotation = 180d / Math.PI
|
||||
* (Math.Atan2(newDistance.Y, newDistance.X) - Math.Atan2(oldDistance.Y, oldDistance.X));
|
||||
rotation = 180d / Math.PI *
|
||||
(Math.Atan2(newDistance.Y, newDistance.X) - Math.Atan2(oldDistance.Y, oldDistance.X));
|
||||
}
|
||||
|
||||
if (ManipulationMode.HasFlag(ManipulationModes.Scale))
|
||||
|
|
|
|||
Loading…
Reference in a new issue