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

Don't include the map view's padding during printing (#311) #326

Merged
merged 3 commits into from
Jun 17, 2024

Conversation

mbeckem
Copy link
Contributor

@mbeckem mbeckem commented Jun 11, 2024

This PR updates the printing package.
The printing component (and the printing service) will now exclude the view's padding from the result by default.

This can be configured by using the viewPadding property / option. Supported values are

  • auto (the default): exclude the view's padding from the printed result
  • ignore: ignore the view's padding during printing (print the entire map)

Feedback: rename auto to something else? include/exclude for example?

Fixes #311

@mbeckem mbeckem requested a review from antoniave June 11, 2024 14:52
@antoniave antoniave merged commit 0fd366f into main Jun 17, 2024
6 checks passed
@antoniave antoniave deleted the fix/printing-view-padding branch June 18, 2024 07:47
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.

[Map Printing] Printing does not consider the map's view padding
2 participants