Skip to content

Commit

Permalink
fix: typo in hub'eau layer
Browse files Browse the repository at this point in the history
  • Loading branch information
claustres committed Oct 25, 2024
1 parent 92a016c commit 8a60191
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/config/layers/hydrography/hubeau-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
color: `<% if (_.has(properties, 'H') || _.has(properties, 'Q') || _.has(feature, 'time.H') || _.has(feature, 'time.Q')) { %>#00a9ce<% }
else if (feature.measureRequestIssued) { %>black<% }
else { %>white<% } %>`,
stroke: {
stroke: {
color: `<% if (_.has(properties, 'H') || _.has(properties, 'Q') || _.has(feature, 'time.H') || _.has(feature, 'time.Q')) { %>transparent<% }
else if (feature.measureRequestIssued) { %>white<% }
else { %>black<% } %>`,
Expand All @@ -170,7 +170,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
}
}
},
template: ['style.point.color', 'style.point.stroke.color', 'style.point.icon.color', 'style.point.text.label'],
template: ['style.point.color', 'style.point.stroke.color', 'style.point.icon.color'],
popup: {
pick: [
'name'
Expand Down

0 comments on commit 8a60191

Please sign in to comment.