Constructor WebTiledLayer
WebTiledLayer(String)
Initializes a new instance of the Web
Declaration
public WebTiledLayer(string templateUri)
Parameters
Type | Name | Description |
---|---|---|
System. |
templateUri | A URI template for tile requests. |
Remarks
Use this constructor to create a Webhttps://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].
Tile
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.1 - 200.6 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |
WebTiledLayer(String, IEnumerable<String>)
Initializes a new instance of the Web
Declaration
public WebTiledLayer(string templateUri, IEnumerable<string> subDomains)
Parameters
Type | Name | Description |
---|---|---|
System. |
templateUri | A URI template for tile requests. |
System. |
subDomains | List of sub-domains available to use for the |
Remarks
Use this constructor to create a Webhttps://{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]. Tile
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.1 - 200.6 |
Xamarin.Android | 100.1 - 100.14 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |
WebTiledLayer(String, TileInfo, Envelope)
Initializes a new instance of the Web
Declaration
public WebTiledLayer(string templateUri, TileInfo tileInfo, Envelope fullExtent)
Parameters
Type | Name | Description |
---|---|---|
System. |
templateUri | A URI template for tile requests. |
Tile |
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.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.1 - 200.6 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |
WebTiledLayer(String, IEnumerable<String>, TileInfo, Envelope)
Initializes a new instance of the Web
Declaration
public WebTiledLayer(string templateUri, IEnumerable<string> subDomains, TileInfo tileInfo, Envelope fullExtent)
Parameters
Type | Name | Description |
---|---|---|
System. |
templateUri | A URI template for tile requests. |
System. |
subDomains | List of sub-domains available to use for the |
Tile |
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.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.1 - 200.6 |
Xamarin.Android | 100.1 - 100.14 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |