MapBase.InsideViewBounds

This commit is contained in:
ClemensFischer 2024-08-30 17:35:30 +02:00
parent 02e138eb7c
commit 6a4046a838
3 changed files with 5 additions and 5 deletions

View file

@ -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;
}