Skip to content

Commit

Permalink
Revert "Allow filterType on layer level"
Browse files Browse the repository at this point in the history
This reverts commit 6c5055b.
  • Loading branch information
MattiasSp committed Mar 28, 2024
1 parent 6c5055b commit 5858999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layer/wfs.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function wfs(layerOptions, viewer) {
layerType: 'vector'
};
const sourceDefault = {
filterType: layerOptions.filterType || 'cql'
filterType: 'cql'
};
const wfsOptions = Object.assign({}, wfsDefault, layerOptions);
const sourceOptions = Object.assign({}, sourceDefault, viewer.getMapSource()[layerOptions.sourceName]);
Expand Down

0 comments on commit 5858999

Please sign in to comment.