mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Updated MapProjection
This commit is contained in:
parent
0d556e6b14
commit
5d8f1b5ff0
3 changed files with 11 additions and 7 deletions
|
|
@ -293,10 +293,10 @@ namespace MapControl
|
|||
{
|
||||
var rotatedRect = parentMap.MapProjection.LatLonBoxToMap(latLonBox);
|
||||
|
||||
if (rotatedRect != null)
|
||||
if (rotatedRect.HasValue)
|
||||
{
|
||||
mapRect = rotatedRect.Item1;
|
||||
rotation = -rotatedRect.Item2;
|
||||
mapRect = rotatedRect.Value.Item1;
|
||||
rotation = -rotatedRect.Value.Item2;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue