mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-02-11 02:04:15 +01:00
Update MapPanel.cs
This commit is contained in:
parent
98e77e054e
commit
be8c1d2c4b
|
|
@ -254,7 +254,7 @@ namespace MapControl
|
|||
return new ViewRect(x, y, width, height, parentMap.ViewTransform.Rotation);
|
||||
}
|
||||
|
||||
protected bool IsOutsideViewport(Point point)
|
||||
private bool IsOutsideViewport(Point point)
|
||||
{
|
||||
return point.X < 0d || point.X > parentMap.RenderSize.Width
|
||||
|| point.Y < 0d || point.Y > parentMap.RenderSize.Height;
|
||||
|
|
|
|||
Loading…
Reference in a new issue