mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 22:46:58 +00:00
CsWinRT1028, C# LangVersion 12
This commit is contained in:
parent
e1a4ba3fd6
commit
c0783efb4a
27 changed files with 67 additions and 119 deletions
|
|
@ -20,7 +20,7 @@ namespace MapControl
|
|||
/// <summary>
|
||||
/// Displays map tiles from a Web Map Tile Service (WMTS).
|
||||
/// </summary>
|
||||
public class WmtsTileLayer : MapTileLayerBase
|
||||
public partial class WmtsTileLayer : MapTileLayerBase
|
||||
{
|
||||
private static ILogger logger;
|
||||
private static ILogger Logger => logger ??= ImageLoader.LoggerFactory?.CreateLogger<GroundOverlay>();
|
||||
|
|
@ -70,7 +70,7 @@ namespace MapControl
|
|||
|
||||
public IEnumerable<WmtsTileMatrixLayer> ChildLayers => Children.Cast<WmtsTileMatrixLayer>();
|
||||
|
||||
public Dictionary<string, WmtsTileMatrixSet> TileMatrixSets { get; } = new Dictionary<string, WmtsTileMatrixSet>();
|
||||
public Dictionary<string, WmtsTileMatrixSet> TileMatrixSets { get; } = [];
|
||||
|
||||
protected virtual WmtsTileSource CreateTileSource(string uriTemplate) => new WmtsTileSource { UriTemplate = uriTemplate };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue