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

fix: fix geoserver wms theme layer print legend #1489

Merged
merged 1 commit into from
Mar 8, 2022

Conversation

Grammostola
Copy link
Contributor

Aims to fix #1488

If a layer style definition has the extendedLegend-property (meaning true) the affected function will land at

      } else {
        content = await getJSONContent(title);

which will for a Geoserver 2.16+ return rules for a pretty theme legend and for others, like an ArcGIS Server with WMS layers, return the title of the layer with no icon, even when printing an Image. #1484

Copy link
Collaborator

@johnnyblasta johnnyblasta left a comment

Choose a reason for hiding this comment

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

LGTM

@Grammostola Grammostola merged commit ebc285e into master Mar 8, 2022
@Grammostola Grammostola deleted the geoserver-theme-wms-fix branch March 8, 2022 09:43
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.

Print: Geoserver theme WMS layers not displayed properly in the print legend
2 participants