diff --git a/MapControl/Shared/MapPanel.cs b/MapControl/Shared/MapPanel.cs
index 516a7b39..ca7348ba 100644
--- a/MapControl/Shared/MapPanel.cs
+++ b/MapControl/Shared/MapPanel.cs
@@ -409,7 +409,7 @@ namespace MapControl
element.Arrange(new Rect(x, y, width, height));
}
- internal static Size GetDesiredSize(FrameworkElement element)
+ private static Size GetDesiredSize(FrameworkElement element)
{
var width = element.DesiredSize.Width;
var height = element.DesiredSize.Height;
diff --git a/MapControl/Shared/MapTileLayer.cs b/MapControl/Shared/MapTileLayer.cs
index 4ec4391f..d9f46acb 100644
--- a/MapControl/Shared/MapTileLayer.cs
+++ b/MapControl/Shared/MapTileLayer.cs
@@ -20,7 +20,7 @@ using Avalonia.Media;
namespace MapControl
{
///
- /// Displays a standard Web Mercator map tile pyramid, e.g. a OpenStreetMap tiles.
+ /// Displays a Web Mercator tile pyramid.
///
public partial class MapTileLayer : TilePyramidLayer
{
diff --git a/MapControl/Shared/TilePyramidLayer.cs b/MapControl/Shared/TilePyramidLayer.cs
index 3db0876e..3bda6cf2 100644
--- a/MapControl/Shared/TilePyramidLayer.cs
+++ b/MapControl/Shared/TilePyramidLayer.cs
@@ -188,9 +188,9 @@ namespace MapControl
}
}
- public abstract IReadOnlyCollection SupportedCrsIds { get; }
+ public bool IsBaseMapLayer => parentMap != null && parentMap.Children.Count > 0 && parentMap.Children[0] == this;
- protected bool IsBaseMapLayer => parentMap != null && parentMap.Children.Count > 0 && parentMap.Children[0] == this;
+ public abstract IReadOnlyCollection SupportedCrsIds { get; }
protected void BeginLoadTiles(IEnumerable tiles, string cacheName)
{