Added MapTileLayerBase.LoadTiles method

This commit is contained in:
ClemensF 2020-11-19 18:53:20 +01:00
parent f38ac5bec3
commit ab69894f13
5 changed files with 22 additions and 14 deletions

View file

@ -14,7 +14,10 @@ namespace MapControl
{
Uri uri = null;
if (UriFormat != null && TileMatrixSet != null && zoomLevel >= 0 && zoomLevel < TileMatrixSet.TileMatrixes.Count)
if (UriFormat != null &&
TileMatrixSet != null &&
zoomLevel >= 0 &&
zoomLevel < TileMatrixSet.TileMatrixes.Count)
{
uri = new Uri(UriFormat
.Replace("{TileMatrixSet}", TileMatrixSet.Identifier)