mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-09 00:14:51 +00:00
Location equality
This commit is contained in:
parent
1e13a3bffb
commit
7208cc71bd
9 changed files with 50 additions and 30 deletions
|
|
@ -82,7 +82,7 @@ namespace MapControl
|
|||
|
||||
if (position.HasValue && !ParentMap.InsideViewBounds(position.Value))
|
||||
{
|
||||
longitudeOffset = ParentMap.CoerceLongitude(location.Longitude) - location.Longitude;
|
||||
longitudeOffset = ParentMap.NearestLongitude(location.Longitude) - location.Longitude;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue