An Open Geospatial Consortium (OGC) Web Map Tile Service (WMTS). The OGC WMTS standard[https://www.ogc.org/standard/wmts/] is an international specification for serving digital maps over the web using cached image tiles. The WMTS service may be hosted in ArcGIS Online, ArcGIS Enterprise, or on a third party server. You can construct a WmtsService using the URL for a WMTS service. Once loaded, you can browse its metadata using WmtsService.serviceInfo and access its layers using the WmtsServiceInfo.layerInfos collection.

A WMTS service provides access to a set of cached tiles at predefined scales. The service provides a collection of tile matrix sets, each of these is composed of one or more tile matrices for a series of fixed scales. As the scale decreases, the number of tiles in the matrix increases - each tile being of a smaller geographic area and of a higher resolution.

WMTS version 1.0.0 is supported.




Link copied to clipboard
constructor(url: String)

Creates a WmtsService with the specified URL to the WMTS service. For some WMTS services it may be necessary to provide a direct URI to the getCapabilities resource, by appending either /1.0.0/WMTSCapabilities.xml or ?service=wmts&request=getCapabilities&version=1.0.0 to the root WMTS URI.


Link copied to clipboard

These parameters are appended to GetCapabilities, and GetTile. If a parameter with the same name is defined in a layer's custom parameters, then layer-specific values take precedence over service-wide values. Parameters intended for GetCapabilities requests should be set before the service is loaded. If used with WmtsLayer.customParameters property, duplicate parameters in WmtsService.customParameters will not take precedence.

Link copied to clipboard

The information for browsing and accessing the WmtsService content.

Link copied to clipboard
val url: String

The WMTS service's URL.

Inherited properties

Link copied to clipboard
open override val loadStatus: StateFlow<LoadStatus>

The load status.

Inherited functions

Link copied to clipboard
open override fun cancelLoad()

Cancels loading metadata for the Loadable object.

Link copied to clipboard
open suspend override fun load(): Result<Unit>

Loads the metadata for the object.

Link copied to clipboard
open suspend override fun retryLoad(): Result<Unit>

Loads or retries loading metadata for the object.