mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Updated DrawingTileMatrixLayer
This commit is contained in:
parent
d6de47a2ed
commit
dbabaa4e7e
|
|
@ -85,7 +85,6 @@ namespace MapControl
|
||||||
TileMatrix = new TileMatrix(TileMatrix.ZoomLevel, xMin, yMin, xMax, yMax);
|
TileMatrix = new TileMatrix(TileMatrix.ZoomLevel, xMin, yMin, xMax, yMax);
|
||||||
|
|
||||||
CreateTiles();
|
CreateTiles();
|
||||||
Drawing.Children = [.. Tiles.Select(tile => tile.Drawing)];
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
@ -124,6 +123,7 @@ namespace MapControl
|
||||||
}
|
}
|
||||||
|
|
||||||
Tiles = tiles;
|
Tiles = tiles;
|
||||||
|
Drawing.Children = [.. tiles.Select(tile => tile.Drawing)];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue