Skip to content

Commit

Permalink
encode layer style in hash
Browse files Browse the repository at this point in the history
  • Loading branch information
mind84 authored and github-actions[bot] committed Oct 23, 2024
1 parent b2a7bcf commit 337a8f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/src/modules/Permalink.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export default class Permalink {
for (const item of mainLizmap.state.rootMapGroup.findMapLayersAndGroups()) {
if (item.checked){
itemsVisibility.push(encodeURIComponent(item.name));
itemsStyle.push(item.wmsSelectedStyleName);
itemsStyle.push(item.wmsSelectedStyleName ? encodeURIComponent(item.wmsSelectedStyleName) : item.wmsSelectedStyleName);
itemsOpacity.push(item.opacity);
}
}
Expand Down

0 comments on commit 337a8f5

Please sign in to comment.