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
Issue with google maps #11
Comments
Hi, Maps will take some time to render. please use the delay parameter in capture method. this issue is discussed here #9 |
@SachinGanesh I have tried setting the delay of 20 Seconds but the problem is still there. Could you please look into this. I am having full-screen google map and I am getting result like this. The complete blank screen. |
Has there been any progress with this issue? We are experiencing the same issue with google maps |
Hey. I faced with the same problem when try to caprure screenshot from video_view. |
Yes. I did some testing. Its the issue with the Platform View not getting rendered while taking the screenshot. |
So, do you have an idea how to get screenshot of Platform View? |
@SachinGanesh Could you please suggest any workaround for this? |
I am also interested in a solution for this. |
I can confirm this issue. |
This issue is related to platform views. |
Any update on this issue? |
I fixed it with use this plugin |
we cannot capture platform views because of flutter/flutter#25306. but for google maps, you have a method named takeScreenshot maps plugin. more info check this issue |
In my case I needed to combine other widgets and google map in a screenshot. So what I did is wrap google map widget and a visibility widget with Image.memory in a Stack so whenever a screenshot function is executed, the .takeSnapshot method of google maps will provide the Uint8List for Image.memory widget then set the visibility to true and returns to false when it is done. |
Hello,
I tried using this plugin with a widget with google maps in it. It captures the screen but without the maps part. It appears blank.
Appreciate if you can help.
Thanks
The text was updated successfully, but these errors were encountered: