Skip to content

Commit

Permalink
Removed default that is already set on the source
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasSp committed Feb 22, 2024
1 parent 473e211 commit ae5ae79
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/layer/wfs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ export default function wfs(layerOptions, viewer) {
const wfsDefault = {
layerType: 'vector'
};
const sourceDefault = {
filterType: 'cql'
};
const sourceDefault = {};
const wfsOptions = Object.assign({}, wfsDefault, layerOptions);
const sourceOptions = Object.assign({}, sourceDefault, viewer.getMapSource()[layerOptions.sourceName]);
sourceOptions.featureType = wfsOptions.id;
Expand Down

0 comments on commit ae5ae79

Please sign in to comment.