MapPanel implementation

This commit is contained in:
ClemensFischer 2024-08-28 20:25:36 +02:00
parent ece82bd654
commit 7b45efd33e
2 changed files with 22 additions and 23 deletions

View file

@ -213,12 +213,12 @@ namespace MapControl
{
var point = MapProjection.LocationToMap(location);
if (!point.HasValue)
if (point.HasValue)
{
return null;
point = ViewTransform.MapToView(point.Value);
}
return ViewTransform.MapToView(point.Value);
return point;
}
/// <summary>