mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 06:55:04 +00:00
Use C# 7
This commit is contained in:
parent
d6f16782ff
commit
3ffb613f80
9 changed files with 19 additions and 33 deletions
|
|
@ -26,9 +26,7 @@ namespace MapControl
|
|||
return new Point();
|
||||
}
|
||||
|
||||
double azimuth, distance;
|
||||
|
||||
GetAzimuthDistance(Center, location, out azimuth, out distance);
|
||||
GetAzimuthDistance(Center, location, out double azimuth, out double distance);
|
||||
|
||||
var mapDistance = Math.Tan(distance / 2d) * 2d * Wgs84EquatorialRadius;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue