Description
There are 2 configuration issues found in MapStore's YAML printing configuration affecting A2 paper size layouts and north arrow display.
1- URL of north arrow for A2 print: the url is not correct in some cases like: 'file:/${configDir}/Arrow_North_CFCF.svg' with one slash '/' instead of '//' after file --> it should be always 'file://${configDir}/Arrow_North_CFCF.svg', this issue causes hiding the north arrow in some cases like:
A2 - portrait
2- in A2, if the url issue above fixed, the appearance of north arrow will need to be corrected, there are some wrong values for absoluteX/Y for implemented here refer in this PR: https://github.com/geosolutions-it/MapStore2/pull/10007/files
for example:
A2-portrait:
It should be
How to reproduce
Expected Result
The north arrow should always shown and has a proper location on print page
Current Result
For A2, the north arrow is hidden.
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)
| Browser Affected |
Version |
| Internet Explorer |
|
| Edge |
|
| Chrome |
|
| Firefox |
|
| Safari |
|
Other useful information
Description
There are 2 configuration issues found in MapStore's YAML printing configuration affecting A2 paper size layouts and north arrow display.
1- URL of north arrow for A2 print: the url is not correct in some cases like: 'file:/${configDir}/Arrow_North_CFCF.svg' with one slash '/' instead of '//' after file --> it should be always 'file://${configDir}/Arrow_North_CFCF.svg', this issue causes hiding the north arrow in some cases like:
A2 - portrait
2- in A2, if the url issue above fixed, the appearance of north arrow will need to be corrected, there are some wrong values for absoluteX/Y for implemented here refer in this PR: https://github.com/geosolutions-it/MapStore2/pull/10007/files
for example:
A2-portrait:
It should be
How to reproduce
Expected Result
The north arrow should always shown and has a proper location on print page
Current Result
For A2, the north arrow is hidden.
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)Other useful information