Skip to content

Commit

Permalink
fix: WMS styles from STAC correct reference
Browse files Browse the repository at this point in the history
  • Loading branch information
lubojr committed Oct 6, 2023
1 parent a22c90b commit 938d84b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ export async function loadIndicatorExternalData(time, mergedConfig) {

function createWMSDisplay(config, name) {
const layers = config['wms:layers'].join(',');
const styles = config['wms:layers'] ? config['wms:layers'].join(',') : '';
const styles = config['wms:styles'] ? config['wms:styles'].join(',') : '';
const display = {
protocol: 'WMS',
format: 'image/png',
Expand Down

0 comments on commit 938d84b

Please sign in to comment.