mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 06:55:04 +00:00
Version 4.17.0: Added support for WMTS
This commit is contained in:
parent
f3d0dd0f74
commit
b687487be2
2 changed files with 5 additions and 1 deletions
|
|
@ -125,6 +125,10 @@ namespace MapControl
|
|||
{
|
||||
currentMatrixes = currentMatrixes.Skip(currentMatrixes.Count - 1).ToList(); // last element only
|
||||
}
|
||||
else if (currentMatrixes.Count > MaxBackgroundLevels + 1)
|
||||
{
|
||||
currentMatrixes = currentMatrixes.Skip(currentMatrixes.Count - MaxBackgroundLevels - 1).ToList();
|
||||
}
|
||||
|
||||
var currentLayers = Children.Cast<WmtsTileMatrixLayer>()
|
||||
.Where(layer => currentMatrixes.Contains(layer.TileMatrix))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue