how to consume wmts service in arcgis js ,published in geoserver

573
1
10-11-2021 04:09 AM
RitikaManderwal
New Contributor III

hi ,

i have published wmts service in geoserver.

i need to consume it on arcgis js .

i am using webtilelayer but not able to understand the format of url.

how to do it?

 

0 Kudos
1 Reply
AnneFitz
Esri Regular Contributor

Hi @RitikaManderwal - we have a WMTSLayer that allows you to easily consume WMTS services in your applications built with the ArcGIS API for JavaScript.

WMTSLayer sample: https://developers.arcgis.com/javascript/latest/sample-code/layers-wmts/

WMTSLayer documentation: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMTSLayer.html

 

0 Kudos