mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
MapPanel implementation
This commit is contained in:
parent
ece82bd654
commit
7b45efd33e
2 changed files with 22 additions and 23 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue