mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Use C# 7
This commit is contained in:
parent
d6f16782ff
commit
3ffb613f80
9 changed files with 19 additions and 33 deletions
|
|
@ -85,10 +85,8 @@ namespace MapControl
|
|||
{
|
||||
UpdateTimer.Stop();
|
||||
|
||||
WmtsTileMatrixSet tileMatrixSet;
|
||||
|
||||
if (ParentMap == null ||
|
||||
!TileMatrixSets.TryGetValue(ParentMap.MapProjection.CrsId, out tileMatrixSet))
|
||||
!TileMatrixSets.TryGetValue(ParentMap.MapProjection.CrsId, out WmtsTileMatrixSet tileMatrixSet))
|
||||
{
|
||||
Children.Clear();
|
||||
UpdateTiles(null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue