MapStore2
MapStore2 copied to clipboard
#10279: Show credits/attribution text in printed page
Description
In this PR, adding credit/attribution section to print map is enabled by adding a new section into config.yaml of print. Now in print map, the attribution section will be displayed if the map has layers with credit titles [attributions]. Update the config.yaml file is required if attribution/credit section is need to added. This PR includes also migration guide for this.
Please check if the PR fulfills these requirements
- [x] The commit message follows our guidelines: https://github.com/geosolutions-it/MapStore2/blob/master/CONTRIBUTING.md
- [x] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
What kind of change does this PR introduce? (check one with "x", remove the others)
- [ ] Bugfix
- [x] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Other... Please describe:
Issue
#10279
What is the current behavior? #10279
What is the new behavior? The credits/attributions text will be displayed in printed page.
Breaking change
Does this PR introduce a breaking change? (check one with "x", remove the other)
- [ ] Yes, and I documented them in migration notes
- [x] No