A apty Active Member Licensed User Longtime User Sep 19, 2016 #1 I have a webview which loads a html/javascript file which has google maps with routes drawn between two locations (see attached image). I would like to save the entire webview once loaded in to a bitmap. When i save with Code: WebView1.CaptureBitmap , i can get the google map as image but without the drawn routes. Is it possible to capture everything in the webview including the drawn routes? Attachments mapstest.png 69.9 KB · Views: 513
I have a webview which loads a html/javascript file which has google maps with routes drawn between two locations (see attached image). I would like to save the entire webview once loaded in to a bitmap. When i save with Code: WebView1.CaptureBitmap , i can get the google map as image but without the drawn routes. Is it possible to capture everything in the webview including the drawn routes?
Erel B4X founder Staff member Licensed User Longtime User Sep 20, 2016 #2 When do you call it? Maybe the page is not yet ready. Upvote 0
A apty Active Member Licensed User Longtime User Sep 20, 2016 #3 I call it on a button click after the page has fully loaded. I have also tried putting it in PageFinished event but i still get same results. The map is saved without the path Upvote 0
I call it on a button click after the page has fully loaded. I have also tried putting it in PageFinished event but i still get same results. The map is saved without the path
Erel B4X founder Staff member Licensed User Longtime User Sep 20, 2016 #4 Try this: https://www.b4x.com/android/forum/t...ap-not-working-with-api-21.67193/#post-425358 Upvote 0
A apty Active Member Licensed User Longtime User Sep 20, 2016 #5 i have tried it but no change.. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 21, 2016 #6 Google is probably doing something special to prevent the routes from appearing in the captured bitmap. Upvote 0
Google is probably doing something special to prevent the routes from appearing in the captured bitmap.