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

Grab current map image with all layers to image/file- enhancement ? #345

Closed
MichalMisiaszek opened this issue Jun 27, 2019 · 4 comments
Closed

Comments

@MichalMisiaszek
Copy link

Thanks for great plugin !

I am trying to save current map image with all overlays to the file. Unfortunately widget is not updated until I finish on pressed event. Inside onPressed function I move the map and then want to grab image. So the image I grab is current (old) map view before whole tree is refreshed.
I am looking for a way to get current map view (with all layers) before is it actually rendered. Any ideas ?

@johnpryan
Copy link
Collaborator

It sounds like you want a callback when the map is done loading tiles for the current viewport?

@MichalMisiaszek
Copy link
Author

Loading and rendering, when I grab image sometimes tiles are not rendered yet. The idea is to create a snapshot of the map after it was updated.

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Mar 28, 2021
@github-actions
Copy link

github-actions bot commented Apr 2, 2021

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as completed Apr 2, 2021
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

No branches or pull requests

2 participants