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
System.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
System.ArgumentException

serviceUri is null.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.2 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.1 - 200.8
Xamarin.Android100.1 - 100.14
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.8
In This Article
Back to top Copyright © 2022 Esri.