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 |
---|---|---|
System.Uri | source | The System.Uri of a WMTS service. |
System.String | layerId | The identifier of the WMTS layer. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.14 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |
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 |
---|---|---|
System.Uri | source | The System.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 |
---|---|
System.ArgumentException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.14 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |
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 |
---|---|---|
System.Uri | source | The System.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 |
---|---|
System.ArgumentException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.14 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |
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 |
---|---|---|
System.Uri | source | The System.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 |
---|---|
System.ArgumentException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.14 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |
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 |
---|---|
System.ArgumentException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |
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 |
---|---|
System.ArgumentException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |
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 |
---|---|
System.ArgumentException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |
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 |
---|---|
System.ArgumentException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |