Skip to content

feat: add control to print the map and allow to download as image - #2866

Merged
davidbgk merged 11 commits into
masterfrom
print-map2
Aug 14, 2025
Merged

feat: add control to print the map and allow to download as image#2866
davidbgk merged 11 commits into
masterfrom
print-map2

Conversation

@yohanboniface

Copy link
Copy Markdown
Member

fix #88

yohanboniface and others added 5 commits August 12, 2025 12:16
And move SearchControl to our modules.
Or download it as image.
reject is supposed to be catched when called
We only want to reset on cancel. When printing, it will be done
after the image computation.

Co-authored-by: David Larlet <david@larlet.fr>
Co-authored-by: David Larlet <david@larlet.fr>
@davidbgk

Copy link
Copy Markdown
Contributor

That's great! I wonder if we should put a message when exporting images given that it can take some time to generate and there is no visual feedback that there is actually something working in the background.

It can be tricky to get the exact contours of the map where you want it but with a bit of try and adjust it ends up rendering the right part :)

@davidbgk
davidbgk marked this pull request as ready for review August 14, 2025 14:17
@davidbgk
davidbgk merged commit 27abe06 into master Aug 14, 2025
2 of 3 checks passed
@davidbgk
davidbgk deleted the print-map2 branch August 14, 2025 14:37
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.

Add a Print function

2 participants