-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show credits/attribution text in printed page #10279
Comments
Description: - add credit layer values to print configration object to send it to the server - create a util function to parse credit text by removing tags and | symbol - edit config.yaml of print - add migration guide - add unit test
@mahmoudadel54 hi, can you provide more info about this point, it can be a map in dev or a json of an exported map
|
Hi @MV88 |
thanks, please put a link here and in the issue description |
This is a test map, I have added many layers with credits you can see on it. I have added it in the issue description as well |
* #10279: Show credits/attribution text in printed page Description: - add credit layer values to print configuration object to send it to the server - create a util function to parse credit text by removing tags and | symbol - edit config.yaml of print - add migration guide - add unit test
…eosolutions-it#10451) * geosolutions-it#10279: Show credits/attribution text in printed page Description: - add credit layer values to print configuration object to send it to the server - create a util function to parse credit text by removing tags and | symbol - edit config.yaml of print - add migration guide - add unit test
* #10279: Show credits/attribution text in printed page Description: - add credit layer values to print configuration object to send it to the server - create a util function to parse credit text by removing tags and | symbol - edit config.yaml of print - add migration guide - add unit test
Description
At the moment the textual attribution, credit or copyright statement are not visible on the printed map. The default attribution can be shown in OSM, they can come from WMS or other sources and can be customized for the WMTS bg layers with the MS UI. The text in question appears on the screen and on the map print preview but not on the resulting printed map. See below for an example:
recording_1.mp4
Acceptance criteria
Attribution can be found not only on BG layers but also on overlays, in that case the text is cumulative (one attributions for each text requiring it)
The solutions found needs to be as dynamic as possible, a solution that could fit all the text in a text box to be shown on the map, without cutting it. Another solution, if the text is too long is to provide it separated from the map, on a separate page.
Other useful information
A possible solution consist of:
<a>
tags and | inside, | can be simply removedThe text was updated successfully, but these errors were encountered: