Constructor WebTiledLayer
WebTiledLayer(String)
Initializes a new instance of the WebTiledLayer class with the given URI template.
Declaration
public WebTiledLayer(string templateUri)
Parameters
Type | Name | Description |
---|---|---|
System.String | templateUri | A URI template for tile requests. |
Remarks
Use this constructor to create a WebTiledLayer to integrate non-ArcGIS Services as a layer in a map.
Since this constructor does not require an explicit TileInfo argument, the max LOD will be 23
(approximate scale of 70 and resolution of 1.86 cm/pixel). The URI template usually follows a pattern
similar to https://server.org/path/{level}/{col}/{row}.png
, where:
- "level" corresponds to a zoom level.
- "col" represents the column of the tile.
- "row" represents the row of the tile.
The URI should be arranged to reflect how the tiles are arranged in the cache or on the
server, and can point to a web server (https://
) or to a local file cache (file://
).
The tiles are assumed to be in the OpenStreetMap tiling scheme, with 256x256 PNG tiles at 96 DPI, the webMercator projection, and an extent of [-180, -85.0511, 180, 85.051].
TileInfo and FullExtent are set to OpenStreetMap-compatible defaults, and SubDomains is left empty.
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 |
WebTiledLayer(String, IEnumerable<String>)
Initializes a new instance of the WebTiledLayer class with the given URI template and sub-domain list.
Declaration
public WebTiledLayer(string templateUri, IEnumerable<string> subDomains)
Parameters
Type | Name | Description |
---|---|---|
System.String | templateUri | A URI template for tile requests. |
System.Collections.Generic.IEnumerable<System.String> | subDomains | List of sub-domains available to use for the |
Remarks
Use this constructor to create a WebTiledLayer to integrate non-ArcGIS Services as a layer in a map.
Since this constructor does not require an explicit TileInfo argument, the max LOD will be 23
(approximate scale of 70 and resolution of 1.86 cm/pixel). The URI template usually follows a pattern
similar to https://{subDomain}.server.org/path/{level}/{col}/{row}.png
, where:
- "subDomain" is one of the strings in the subDomains collection
- "level" corresponds to a zoom level
- "col" represents the column of the tile
- "row" represents the row of the tile
The subDomains collection must contain at least one string value to use the "subDomain" key in the
URI template. The URI should be arranged to reflect how the tiles are arranged in the cache or on the
server, and can point to a web server (https://
) or to a local file cache (file://
).
The tiles are assumed to be in the OpenStreetMap tiling scheme, with 256x256 PNG tiles at 96 DPI, the webMercator projection, and an extent of [-180, -85.0511, 180, 85.051]. TileInfo and FullExtent are set to OpenStreetMap-compatible defaults.
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 |
WebTiledLayer(String, TileInfo, Envelope)
Initializes a new instance of the WebTiledLayer class with the given URI template, tiling scheme information, and extent.
Declaration
public WebTiledLayer(string templateUri, TileInfo tileInfo, Envelope fullExtent)
Parameters
Type | Name | Description |
---|---|---|
System.String | templateUri | A URI template for tile requests. |
TileInfo | tileInfo | Tiling scheme information. |
Envelope | fullExtent | The full extent of tiles in the cache or server. |
Remarks
Use this constructor to create a WebTileLayer object to integrate non-ArcGIS Services as a layer in a map.
The template URI usually follows a pattern similar to https://server.org/path/{level}/{col}/{row}.png
,
"level" corresponds to a zoom level, "col" represents the tile column, and "row" represents the tile row.
This URI should be arranged to reflect how the tiles are arranged in the cache or on the server. This URI
can point to a web server (https://
) or to a local file cache (file://
).
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 |
WebTiledLayer(String, IEnumerable<String>, TileInfo, Envelope)
Initializes a new instance of the WebTiledLayer class with the given URI template, sub-domain list, tiling scheme information, and extent.
Declaration
public WebTiledLayer(string templateUri, IEnumerable<string> subDomains, TileInfo tileInfo, Envelope fullExtent)
Parameters
Type | Name | Description |
---|---|---|
System.String | templateUri | A URI template for tile requests. |
System.Collections.Generic.IEnumerable<System.String> | subDomains | List of sub-domains available to use for the |
TileInfo | tileInfo | Tiling scheme information. |
Envelope | fullExtent | The full extent of tiles in the cache or server. |
Remarks
Use this constructor to create a WebTileLayer object to integrate non-ArcGIS Services as a layer in a
map. The template URI usually follows a pattern similar to https://{subDomain}.server.org/path/{level}/{col}/{row}.png
,
where "subDomain" is one of the available string in the sub_domains vector, "level"
corresponds to a zoom level, "col" represents the tile column, and "row" represents
the tile row. The "sub_domains" vector must at least one string value to use the
"subDomain" key in the template URI. This URI should be arranged to reflect how the
tiles are arranged in the cache or on the server, and can point to a web server
(https://
) or to a local file cache (file://
).
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 |