The following members of class WebTiledLayer are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(deprecated) | Web |
(deprecated) | Web |
(deprecated) | Web |
(deprecated) | Web |
Member Function Documentation
[deprecated]
WebTiledLayer::WebTiledLayer (const QString &templateUrl , Esri::ArcGISRuntime::Credential *credential, QObject *parent = nullptr)
This function is deprecated. We strongly advise against using it in new code.
Creates a web tiled layer with the given URL template.
- templateUrl - A URL template for tile requests.
- credential - The credential for the secured resource.
- parent - The optional parent QObject.
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 URL 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 URL 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 Layer::fullExtent are set to OpenStreetMap-compatible defaults, and subDomains is left empty.
[deprecated]
WebTiledLayer::WebTiledLayer (const QString &templateUrl , const QStringList &subDomains , Esri::ArcGISRuntime::Credential *credential, QObject *parent = nullptr)
This function is deprecated. We strongly advise against using it in new code.
Creates a web tiled layer with the given URL template and collection of subdomains.
- templateUrl - A URL template for tile requests.
- subDomains - A collection of strings listing available subdomains.
- credential - The credential for the secured resource.
- parent - The optional parent QObject.
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 URL 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 1 string value to use the "subDomain" key in the URL template. The URL 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 Layer::fullExtent are set to OpenStreetMap-compatible defaults.
[deprecated]
WebTiledLayer::WebTiledLayer (const QString &templateUrl , const Esri::ArcGISRuntime::TileInfo &tileInfo , const Esri::ArcGISRuntime::Envelope &fullExtent , Esri::ArcGISRuntime::Credential *credential, QObject *parent = nullptr)
This function is deprecated. We strongly advise against using it in new code.
Creates a web tiled layer with the specified URL template, tiling scheme information, and extent.
- templateUrl - A URL template for tile requests.
- tileInfo - The tiling scheme info.
- fullExtent - The full extent of tiles in the cache or server.
- credential - The credential for the secured resource.
- parent - The optional parent QObject.
Use this constructor to create a WebTiledLayer to integrate non-ArcGIS Services as a layer in a map. The URL 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 URL 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://
). subDomains is left empty.
[deprecated]
WebTiledLayer::WebTiledLayer (const QString &templateUrl , const QStringList &subDomains , const Esri::ArcGISRuntime::TileInfo &tileInfo , const Esri::ArcGISRuntime::Envelope &fullExtent , Esri::ArcGISRuntime::Credential *credential, QObject *parent = nullptr)
This function is deprecated. We strongly advise against using it in new code.
Creates a web tiled layer with the given URL template, subdomain collection, tiling scheme information, and extent.
- templateUrl - A URL template for tile requests.
- subDomains - A collection of strings listing available subdomains.
- tileInfo - The tiling scheme info.
- fullExtent - The full extent of tiles in the cache or server.
- credential - The credential for the secured resource.
- parent - The optional parent QObject.
Use this constructor to create a WebTiledLayer to integrate non-ArcGIS Services as a layer in a map. The URL 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 list.
- "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 1 string value to use the "subDomain" key in the URL template. The URL 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://
).