I have different layers coming from geoserver and on one of the layer I need to implement filters, for that I am trying to set :
this.mapComponent.addLayer(this.roof_geoServer.setParams(
{
layers: 'my_location_history',
format: 'image/png',
transparent: true,
CQL_FILTER: "prediction=\'Flat\'"
}
));
But, I am getting the error of 'there is no any property like CQL_FILTER'. Please helo in solving this issue or in a way I can apply filter on a layer.
I have different layers coming from geoserver and on one of the layer I need to implement filters, for that I am trying to set : this.mapComponent.addLayer(this.roof_geoServer.setParams( { layers: 'my_location_history', format: 'image/png', transparent: true, CQL_FILTER: "prediction=\'Flat\'" } )); But, I am getting the error of 'there is no any property like CQL_FILTER'. Please helo in solving this issue or in a way I can apply filter on a layer.