mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 23:15:14 +00:00
Add IsBaseMapLayer property
This commit is contained in:
parent
681da9b625
commit
c17092cd38
4 changed files with 12 additions and 7 deletions
|
|
@ -211,7 +211,7 @@ namespace MapControl
|
|||
}
|
||||
else
|
||||
{
|
||||
var minZoomLevel = LoadBackgroundTiles
|
||||
var minZoomLevel = IsBaseMapLayer
|
||||
? Math.Max(TileMatrix.ZoomLevel - MaxBackgroundLevels, MinZoomLevel)
|
||||
: maxZoomLevel;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue