Skip to content

Commit

Permalink
Permalink: accept layers with comma in their name
Browse files Browse the repository at this point in the history
  • Loading branch information
nboisteault committed Nov 6, 2023
1 parent 1861d54 commit 50a43a7
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 @@ -215,7 +215,7 @@ export default class Permalink {

for (const item of lizMap.mainLizmap.state.rootMapGroup.findMapLayersAndGroups()) {
if (item.checked){
itemsVisibility.push(item.name);
itemsVisibility.push(encodeURIComponent(item.name));
itemsStyle.push(item.wmsSelectedStyleName);
itemsOpacity.push(item.opacity);
}
Expand Down

0 comments on commit 50a43a7

Please sign in to comment.