mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 15:05:50 +00:00
Version 4.17.0: Added support for WMTS
This commit is contained in:
parent
8d735061f8
commit
6c2b27831e
2 changed files with 37 additions and 18 deletions
|
|
@ -11,10 +11,10 @@ namespace MapControl
|
|||
{
|
||||
private readonly IList<WmtsTileMatrix> tileMatrixes;
|
||||
|
||||
public WmtsTileSource(string uriFormat, WmtsTileMatrixSet tileMatrixSet)
|
||||
: base(uriFormat.Replace("{TileMatrixSet}", tileMatrixSet.Identifier))
|
||||
public WmtsTileSource(string uriFormat, IList<WmtsTileMatrix> tileMatrixes)
|
||||
: base(uriFormat)
|
||||
{
|
||||
tileMatrixes = tileMatrixSet.TileMatrixes;
|
||||
this.tileMatrixes = tileMatrixes;
|
||||
}
|
||||
|
||||
public override Uri GetUri(int x, int y, int zoomLevel)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue