mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
MapBase.InsideViewBounds
This commit is contained in:
parent
02e138eb7c
commit
6a4046a838
3 changed files with 5 additions and 5 deletions
|
|
@ -84,7 +84,7 @@ namespace MapControl
|
|||
{
|
||||
var position = parentMap.LocationToView(location);
|
||||
|
||||
if (position.HasValue && !parentMap.InsideViewport(position.Value))
|
||||
if (position.HasValue && !parentMap.InsideViewBounds(position.Value))
|
||||
{
|
||||
longitudeOffset = parentMap.CoerceLongitude(location.Longitude) - location.Longitude;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue