From ae5ae797879cc40a88e3f7e9b344a9bedca5175f Mon Sep 17 00:00:00 2001 From: MattiasSp Date: Thu, 22 Feb 2024 21:53:25 +0100 Subject: [PATCH] Removed default that is already set on the source --- src/layer/wfs.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/layer/wfs.js b/src/layer/wfs.js index e75f7e5bb..6ee216f14 100644 --- a/src/layer/wfs.js +++ b/src/layer/wfs.js @@ -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;