mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Minor changes
This commit is contained in:
parent
b44018ac8f
commit
ef7849948e
|
|
@ -409,7 +409,7 @@ namespace MapControl
|
||||||
element.Arrange(new Rect(x, y, width, height));
|
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 width = element.DesiredSize.Width;
|
||||||
var height = element.DesiredSize.Height;
|
var height = element.DesiredSize.Height;
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ using Avalonia.Media;
|
||||||
namespace MapControl
|
namespace MapControl
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Displays a standard Web Mercator map tile pyramid, e.g. a OpenStreetMap tiles.
|
/// Displays a Web Mercator tile pyramid.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class MapTileLayer : TilePyramidLayer
|
public partial class MapTileLayer : TilePyramidLayer
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -188,9 +188,9 @@ namespace MapControl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract IReadOnlyCollection<string> 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<string> SupportedCrsIds { get; }
|
||||||
|
|
||||||
protected void BeginLoadTiles(IEnumerable<Tile> tiles, string cacheName)
|
protected void BeginLoadTiles(IEnumerable<Tile> tiles, string cacheName)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue