mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-09 00:14:51 +00:00
Updated NearestLongitude
This commit is contained in:
parent
8233273779
commit
45b47bbae4
2 changed files with 4 additions and 2 deletions
|
|
@ -313,6 +313,8 @@ namespace MapControl
|
|||
|
||||
internal double NearestLongitude(double longitude)
|
||||
{
|
||||
longitude = Location.NormalizeLongitude(longitude);
|
||||
|
||||
var offset = longitude - Center.Longitude;
|
||||
|
||||
if (offset > 180d)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue