mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
SupportedCrsIds
This commit is contained in:
parent
7da0f7f9af
commit
5bba4d6a1b
6 changed files with 11 additions and 11 deletions
|
|
@ -48,7 +48,7 @@ namespace MapControl
|
|||
Description = "© [OpenStreetMap Contributors](http://www.openstreetmap.org/copyright)"
|
||||
};
|
||||
|
||||
public override IReadOnlyCollection<string> SupportedMapProjections { get; } = ["EPSG:3857"];
|
||||
public override IReadOnlyCollection<string> SupportedCrsIds { get; } = ["EPSG:3857"];
|
||||
|
||||
public TileMatrix TileMatrix { get; private set; }
|
||||
|
||||
|
|
@ -117,7 +117,7 @@ namespace MapControl
|
|||
|
||||
protected override void UpdateTileLayerAsync(bool resetTiles)
|
||||
{
|
||||
if (ParentMap == null || !SupportedMapProjections.Contains(ParentMap.MapProjection.CrsId))
|
||||
if (ParentMap == null || !SupportedCrsIds.Contains(ParentMap.MapProjection.CrsId))
|
||||
{
|
||||
TileMatrix = null;
|
||||
Children.Clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue