OpenLayers WMTS Usage
WMTS is designed to serve pre-rendered tiles
Some servers do support more dynamic rendering as vendor option but that does not belong to WMTS standard
Geoserver is happy to handle filters in KVP WMTS requests
Do not support CQL Filter
Where I should add cql_filter param in WMTS layers by OpenLayers v6?
I am going to use cql_filter in wmts layers,this is my code, I read OpenLayers v6 Document , but I couldn't find params, I googled but I could'nt find any soltion, about cql_filter in WMTS Layers, If I want use WMS Layers I should insert "cql_filter" in ol.source in params
https://gis.stackexchange.com/questions/376852/where-i-should-add-cql-filter-param-in-wmts-layers-by-openlayers-v6
openlayers/openlayers
You can't perform that action at this time. You signed in with another tab or window. You signed out in another tab or window. Reload to refresh your session. Reload to refresh your session.
https://github.com/openlayers/openlayers/blob/main/src/ol/source/WMTS.js
Module: ol/source/WMTS
import {optionsFromCapabilities} from 'ol/source/WMTS'; Generate source options from a capabilities object. Configuration properties for the layer. Defaults for the layer will apply if not provided. Required config properties: layer - {string} The layer identifier. Optional config properties: matrixSet - {string} The matrix set identifier, required if there is more than one matrix set in the layer capabilities.
https://openlayers.org/en/latest/apidoc/module-ol_source_WMTS.html

