mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Update comments
This commit is contained in:
parent
a0b887fc7c
commit
b253d0696a
8 changed files with 26 additions and 25 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue