Show / Hide Table of Contents

Constructor WmtsService

WmtsService(Uri)

Initializes a new instance of the WmtsService class with the specified URI.

Declaration
public WmtsService(Uri serviceUri)
Parameters
Type Name Description
Uri serviceUri

URI of the WMTS service.

Remarks

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.

Exceptions
Type Condition
ArgumentException

serviceUri is null.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.2 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.1 - 200.8
Xamarin.Android100.1 - 100.14
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.