Constructor WmtsLayer
WmtsLayer(Uri, String)
Initializes a new instance of the WmtsLayer class with the given service URI and layer ID. PreferredImageFormat and TileMatrixSet will be chosen automatically.
Declaration
public WmtsLayer(Uri source, string layerId)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | source | The Uri of a WMTS service. |
| System.String | layerId | The identifier of the WMTS layer. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.1 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.14 |
WmtsLayer(Uri, String, TileImageFormat)
Initializes a new instance of the WmtsLayer class with the given service URI, layer ID, and preferred tile image format. TileMatrixSet will be chosen automatically.
Declaration
public WmtsLayer(Uri source, string layerId, TileImageFormat preferredImageFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | source | The Uri of a WMTS service. |
| System.String | layerId | The identifier of the WMTS layer |
| TileImageFormat | preferredImageFormat | The preferred tile image format of the WMTS layer. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.1 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.14 |
WmtsLayer(Uri, String, String)
Initializes a new instance of the WmtsLayer class with the given service URI, layer ID, and tile matrix set ID. PreferredImageFormat will be chosen automatically.
Declaration
public WmtsLayer(Uri source, string layerId, string matrixSetId)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | source | The Uri of a WMTS service. |
| System.String | layerId | The identifier of the WMTS layer. |
| System.String | matrixSetId | The id of the tile matrix set supported by of the WMTS layer. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.1 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.14 |
WmtsLayer(Uri, String, String, TileImageFormat)
Initializes a new instance of the WmtsLayer class with the given service URI, layer ID, tile matrix set ID, and tile image format.
Declaration
public WmtsLayer(Uri source, string layerId, string matrixSetId, TileImageFormat preferredImageFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | source | The Uri of a WMTS service. |
| System.String | layerId | The identifier of the WMTS layer. |
| System.String | matrixSetId | The id of the tile matrix set supported by of the WMTS layer. |
| TileImageFormat | preferredImageFormat | The preferred image format of the WMTS layer. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.1 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.14 |
WmtsLayer(WmtsLayerInfo)
Initializes a new instance of the WmtsLayer class from the given layer info. PreferredImageFormat and TileMatrixSet will be chosen automatically.
Declaration
public WmtsLayer(WmtsLayerInfo layerInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| WmtsLayerInfo | layerInfo | Layer metadata obtained from LayerInfos. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.1 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.15 |
WmtsLayer(WmtsLayerInfo, WmtsTileMatrixSet)
Initializes a new instance of the WmtsLayer class from the given layer info and tile matrix set. PreferredImageFormat will be chosen automatically.
Declaration
public WmtsLayer(WmtsLayerInfo layerInfo, WmtsTileMatrixSet tileMatrixSet)
Parameters
| Type | Name | Description |
|---|---|---|
| WmtsLayerInfo | layerInfo | Layer metadata obtained from LayerInfos. |
| WmtsTileMatrixSet | tileMatrixSet | Tile matrix set. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.1 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.15 |
WmtsLayer(WmtsLayerInfo, TileImageFormat)
Initializes a new instance of the WmtsLayer class for the given layer info and tile image format. TileMatrixSet will be chosen automatically.
Declaration
public WmtsLayer(WmtsLayerInfo layerInfo, TileImageFormat preferredImageFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| WmtsLayerInfo | layerInfo | Layer metadata obtained from LayerInfos. |
| TileImageFormat | preferredImageFormat | The preferred tile image format of the WMTS layer. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.1 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.15 |
WmtsLayer(WmtsLayerInfo, WmtsTileMatrixSet, TileImageFormat)
Initializes a new instance of the WmtsLayer class for the given layer info, tile matrix set, and tile image format.
Declaration
public WmtsLayer(WmtsLayerInfo layerInfo, WmtsTileMatrixSet tileMatrixSet, TileImageFormat preferredImageFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| WmtsLayerInfo | layerInfo | Layer metadata obtained from LayerInfos. |
| WmtsTileMatrixSet | tileMatrixSet | Tile matrix set. |
| TileImageFormat | preferredImageFormat | The preferred tile image format of the WMTS layer. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.1 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.15 |