Class WmtsLayer
Displays data from a WMTS service by using pre-generated tiles.
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class WmtsLayer : ImageTiledLayer, INotifyPropertyChanged, ILoadable, ILayerContent
Remarks
Web Map Tile Service (WMTS) is an Open Geospatial Consortium (OGC) standard for delivering geographic data via raster tiles. The service may be hosted in the cloud on ArcGIS Online, on a third party server, or on-premises with ArcGIS Server. This API supports WMTS 1.0.0.
A WMTS layer uses pre-generated tiles to create a map instead of dynamically generating map images.
Functional characteristics
The maps provided by a WMTS service use predefined symbology defined by the server. As a result, it is not possible to apply custom renderers or to visualize feature selection.
A WMTS service can contain multiple layers in a hierarchy. A WMTS layer can be constructed directly with a URL to a service and the uniquely identifying name of the desired layer. Alternatively, a WMTS service can be used to programmatically explore the available layers and allow the user to choose layers at run time.
When creating a Wmts/1.0.0/WMTSCapabilities.xml
or
?service=wmts&request=getCapabilities&version=1.0.0
to the root WMTS URI.
Performance characteristics
WMTS layer consumes raster tiles that were prerendered by a server. WMTS requires fewer server resources than WMS because the images are rendered and cached ahead of time. WMTS layer requires a connection to the service at all times.
Sample Code:
Constructors
Name | Description |
---|---|
Wmts |
Initializes a new instance of the Wmts |
Wmts |
Initializes a new instance of the Wmts |
Wmts |
Initializes a new instance of the Wmts |
Wmts |
Initializes a new instance of the Wmts |
Wmts |
Initializes a new instance of the Wmts |
Wmts |
Initializes a new instance of the Wmts |
Wmts |
Initializes a new instance of the Wmts |
Wmts |
Initializes a new instance of the Wmts |
Properties
Name | Description |
---|---|
Custom |
Gets the dictionary of custom parameters to be sent with WMTS requests issued by this layer. |
Layer |
Gets or sets the WMTS layer identifier. |
Layer |
Gets the Wmts |
Preferred |
Gets or sets the preferred image format used for tiles of this WMTS layer. The layer will try to request tiles in this format if possible. |
Source | Gets or sets the service System. |
Tile |
Gets the Tile |
Tile |
Gets or sets the tile matrix set identifier. |
Methods
Name | Description |
---|---|
Get |
This method is not currently supported and always throws a System. |
See Also
Applies to
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 |