Version 4.16.0. Improved MapProjection.

This commit is contained in:
ClemensF 2019-12-16 18:35:04 +01:00
parent 1f66a9f878
commit 0dbdd4c810
5 changed files with 24 additions and 15 deletions

View file

@ -36,7 +36,7 @@ namespace MapControl
{
if (point.X == 0d && point.Y == 0d)
{
return ProjectionCenter;
return new Location(ProjectionCenter.Latitude, ProjectionCenter.Longitude);
}
var azimuth = Math.Atan2(point.X, point.Y);