mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Renamed TileSource.UriFormat, improved WmtsCapabilities
This commit is contained in:
parent
343888be5d
commit
916dc7d4af
13 changed files with 98 additions and 98 deletions
|
|
@ -14,11 +14,11 @@ namespace MapControl
|
|||
{
|
||||
Uri uri = null;
|
||||
|
||||
if (UriFormat != null &&
|
||||
if (UriTemplate != null &&
|
||||
TileMatrixSet != null && TileMatrixSet.TileMatrixes.Count > zoomLevel &&
|
||||
x >= 0 && y >= 0 && zoomLevel >= 0)
|
||||
{
|
||||
uri = new Uri(UriFormat
|
||||
uri = new Uri(UriTemplate
|
||||
.Replace("{TileMatrixSet}", TileMatrixSet.Identifier)
|
||||
.Replace("{TileMatrix}", TileMatrixSet.TileMatrixes[zoomLevel].Identifier)
|
||||
.Replace("{TileCol}", x.ToString())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue