Update comments

This commit is contained in:
ClemensFischer 2022-11-05 17:32:29 +01:00
parent a0b887fc7c
commit b253d0696a
8 changed files with 26 additions and 25 deletions

View file

@ -98,7 +98,8 @@ namespace MapControl
}
/// <summary>
/// Gets the position of an element in view coordinates.
/// Gets the position of an element with Location in view coordinates,
/// or null when the element has no Location.
/// </summary>
public static Point? GetViewPosition(FrameworkElement element)
{
@ -152,7 +153,7 @@ namespace MapControl
{
var location = GetLocation(element);
Point? position = null;
if (location != null)
{
position = GetViewPosition(location);