Skip to content

Commit

Permalink
Merge pull request #1153 from geoadmin/fix-PB-1260-voidLayer-full-sup…
Browse files Browse the repository at this point in the history
…port

PB-1260: handle legacy value 'voidLayer'
  • Loading branch information
pakb authored Dec 2, 2024
2 parents 92164e4 + b04e016 commit 4dec99d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/router/legacyPermalinkManagement.routerPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ const handleLegacyParam = (
newValue =
legacyValue === 'true' ? FeatureInfoPositions.DEFAULT : FeatureInfoPositions.NONE
break
case 'bgLayer':
newValue = legacyValue === 'voidLayer' ? 'void' : legacyValue
break
// if no special work to do, we just copy past legacy params to the new viewer
default:
// NOTE: legacyValue is parsed using URLSearchParams which don't make any difference
Expand Down

0 comments on commit 4dec99d

Please sign in to comment.