mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 15:05:50 +00:00
Add LoadBackgroundTiles property
This commit is contained in:
parent
f2204fa6c0
commit
681da9b625
3 changed files with 10 additions and 9 deletions
|
|
@ -126,7 +126,7 @@ namespace MapControl
|
|||
.Where((matrix, i) => i == 0 || matrix.Scale <= maxScale)
|
||||
.ToList();
|
||||
|
||||
if (this != ParentMap.MapLayer) // do not load background tiles
|
||||
if (!LoadBackgroundTiles)
|
||||
{
|
||||
currentMatrixes = currentMatrixes.Skip(currentMatrixes.Count - 1).ToList(); // last element only
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue