Skip to content
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

Added WMS custom params and WMS customizer entry point #30

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

ltshb
Copy link
Contributor

@ltshb ltshb commented Apr 23, 2024

Pass all Openlayer WMS params to the custom params per default and added also wms to the customizer so that the user can change any param if he wants to.

This solve the issue for TIME layer as well as for TRANSPARENT=true layer in openlayer that needs to pass these parameters as well to print in order to have them printed the same was as they are rendered in ol.

Pass all Openlayer WMS params to the custom params per default and added also
wms to the customizer so that the user can change any param if he wants to.

This solve the issue for TIME layer as well as for TRANSPARENT=true layer in
openlayer that needs to pass these parameters as well to print in order to have
them printed the same was as they are rendered in ol.
Copy link
Collaborator

@ismailsunni ismailsunni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@ismailsunni ismailsunni merged commit c00d215 into geoblocks:main Apr 24, 2024
1 check passed
ltshb added a commit to geoadmin/web-mapviewer that referenced this pull request Apr 24, 2024
WMS layer based on the WMS specification, prints background in white unless
the query parameter TRANSPARENT is set to true. The WMS parameter were not
passed to print. Due to this external layers were not transparent and layer with
time and/or lang did not print the correct content.

This was a bug in the geoblocks/mapfishprint library, see geoblocks/mapfishprint#30

Geoadmin layers have a bug and their default behavior is transparent=true instead
of false, see https://jira.swisstopo.ch/browse/PB-439

Also fix
ltkum pushed a commit to geoadmin/web-mapviewer that referenced this pull request Apr 29, 2024
WMS layer based on the WMS specification, prints background in white unless
the query parameter TRANSPARENT is set to true. The WMS parameter were not
passed to print. Due to this external layers were not transparent and layer with
time and/or lang did not print the correct content.

This was a bug in the geoblocks/mapfishprint library, see geoblocks/mapfishprint#30

Geoadmin layers have a bug and their default behavior is transparent=true instead
of false, see https://jira.swisstopo.ch/browse/PB-439

Also fix
ltkum pushed a commit to geoadmin/web-mapviewer that referenced this pull request Apr 29, 2024
WMS layer based on the WMS specification, prints background in white unless
the query parameter TRANSPARENT is set to true. The WMS parameter were not
passed to print. Due to this external layers were not transparent and layer with
time and/or lang did not print the correct content.

This was a bug in the geoblocks/mapfishprint library, see geoblocks/mapfishprint#30

Geoadmin layers have a bug and their default behavior is transparent=true instead
of false, see https://jira.swisstopo.ch/browse/PB-439

Also fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants