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

[WIP] Add the possibility to print legends as PNG #61

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

jahow
Copy link
Member

@jahow jahow commented Dec 22, 2022

This uses the PNG output for geostyler-legend to allow getting a spec legend as PNG. This is used in the PDF example to include the legend in a following page.

Added "getLegendAsSvg" and "getLegend" in the API; the "createLegends" function
is still there and points to getLegendAsSvg for backwards compatibility.

Adapted the legend example to use the new API
@jahow jahow force-pushed the generate-png-legends branch from e70fae1 to 4639df6 Compare December 22, 2022 20:56
@jahow jahow force-pushed the generate-png-legends branch from 4639df6 to 0fea87c Compare December 23, 2022 15:56
@jahow jahow changed the title Add the possibility to print legends as PNG [WIP] Add the possibility to print legends as PNG Dec 28, 2022
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.

1 participant