Skip to content

Commit

Permalink
fix(Config): fix empty string for Geoportal WMS Vector styles
Browse files Browse the repository at this point in the history
  • Loading branch information
elias75015 committed Aug 29, 2023
1 parent fc0f0f2 commit 8440a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/Config/ConfigInterface.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ ConfigInterface.prototype = {
const wmsTypeRegex = /\/v\//;
// WMS vector style always empty (not in getCap)
if (wmsTypeRegex.test(params.url)) {
params.styles = "";
params.styles = " ";
} else {
// WMS raster style is defined in getCap
params.styles = layerConf.styles[0].name;
Expand Down

0 comments on commit 8440a81

Please sign in to comment.