Show / Hide Table of Contents

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 function to create a WebTiledLayer object, which provides a simple way to integrate non-ArcGIS Services as a layer in a map. Since an explicit TileInfo argument is not part of this constructor, the max LOD will be 23 (approximate scale of 70 and resolution of 1.86 cm/pixel). The template URI usually follows a pattern similar to https://server.org/path/{level}/{col}/{row}.png, where "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://). The tiles are assumed to be in the OpenStreetMap tiling scheme, with 256x256 PNG tiles at 96 DPI, the webMercator projection, and a fullExtents 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
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.1 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 100.15

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.

IEnumerable<System.String> subDomains

List of sub-domains available to use for the {subDomain} template key.

Remarks

Use this function to create a WebTiledLayer object, which provides a simple way to integrate non-ArcGIS Services as a layer in a map. Since an explicit TileInfo argument is not part of this constructor, the max LOD will be 23 (approximate scale of 70 and resolution of 1.86 cm/pixel). 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 1 string value to use the "subDomain" key in the template URI. 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 a fullExtents of [-180, -85.0511, 180, 85.051].

TileInfo and FullExtent are set to OpenStreetMap-compatible defaults.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.1 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 100.14

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, which provides a simple way 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
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.1 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 100.15

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.

IEnumerable<System.String> subDomains

List of sub-domains available to use for the {subDomain} template key.

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, which provides a simple way 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 1 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
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.1 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 100.14
In This Article
Back to top Copyright © 2022 Esri.