WmtsService.withUri constructor

WmtsService.withUri(
  1. Uri uri
)

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.

Parameters:

  • uri — URL of the OGC WMTS service.