<layer label="BRT" type="wmts" visible="true" icon="assets/images/basemap_topographic.jpg" servicemode="KVP" layerid="brtachtergrondkaart" imageformat="png8" url="http://geodata.nationaalgeoregister.nl/tiles/service/wmts?VERSION=1.0.0&REQUEST=GetTile&TileMatrixSet=EPSG:28992" />
[h=3]Attributes specific to WMTSUnlike the WMS type, there is no skipgetcababilities attribute. Since this is the case, if the WMTS service does not have a crosdomain file associated with it, you will need to provide a proxy page URL. An example is provided below.Snippet showing how to add WMTS layer, make sure that the proxy is referenced in the <httpproxy> tag
- servicemode???Optional, this specifies the WMTS service mode as either "KVP" or "RESTful"
- layerid???Optional, this is the layer you specifically want displayed
<map wraparound180="true" top="40"> <basemaps> <layer label="WMTSLayer" type="wmts" visible="true" useproxy="true" imageformat="gif" url="http://v2.suite.opengeo.org/geoserver/gwc/service/wmts" servicemode="KVP" layerid="world"/> </basemaps> </map>
Someone managed to use the service WMTS? I've tried with and without proxy unsuccessfully using the following settings in config.xml.
<layer label="WMTSLayer"
type="wmts" visible="true" useproxy="true"
imageformat="PNG"
url="http://v2.suite.opengeo.org/geoserver/gwc/service/wmts"
servicemode="KVP"
layerid="world"/>