Skip to content

Commit

Permalink
COG services only have a single layer, use provided layer text as tit…
Browse files Browse the repository at this point in the history
  • Loading branch information
landryb committed Jan 15, 2024
1 parent ff1678f commit 2f793d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/client/epics/catalog.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default (API) => ({
const layerOptionsParam = get(options, i, searchOptionsSelector(state));
// use the selected layer text as title for 3d tiles
// because currently we get only a single record for this service type
const layerOptions = format === '3dtiles' || format === 'geojson'
const layerOptions = format === '3dtiles' || format === 'geojson' || format === 'cog'
? {
...layerOptionsParam,
title: isObject(layerOptionsParam?.title)
Expand Down

0 comments on commit 2f793d0

Please sign in to comment.