mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Move UriTemplate to WmtsTileMatrixSet
This commit is contained in:
parent
baea814df0
commit
44d48eadde
3 changed files with 10 additions and 25 deletions
|
|
@ -6,11 +6,11 @@ namespace MapControl
|
|||
{
|
||||
public class WmtsTileSource : UriTileSource
|
||||
{
|
||||
private readonly IList<WmtsTileMatrix> tileMatrixes;
|
||||
private readonly List<WmtsTileMatrix> tileMatrixes;
|
||||
|
||||
public WmtsTileSource(string uriTemplate, WmtsTileMatrixSet tileMatrixSet)
|
||||
public WmtsTileSource(WmtsTileMatrixSet tileMatrixSet)
|
||||
{
|
||||
UriTemplate = uriTemplate.Replace("{TileMatrixSet}", tileMatrixSet.Identifier);
|
||||
UriTemplate = tileMatrixSet.UriTemplate;
|
||||
tileMatrixes = tileMatrixSet.TileMatrixes;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue