Android Question Screenshot of Mapbox map

Almora

Well-Known Member
Licensed User
Longtime User
hi..
when I capture a screenshot with webview, the map shows empty. it does not capture screenshots.
WebViewExtras1.CaptureBitmap

Mapbox Streets _ Mapbox.png


map link..




i found the solution here. but how can I apply it.


thanks..
 

Almora

Well-Known Member
Licensed User
Longtime User
Does a Mapbox-Library exists for B4A?
I only know googlemaps library.
there is no library. i am using webview. I think the library is needed for the solution.

the map is closed for capturing screenshots with webview.
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Did you tried taking a snapshot of the whole Activity?
Or try to put the webview into a Panel (declared as B4XView) and take a snapshot of the Panel.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I think the library is needed for the solution.
100% not! The library is a kotlin library and can only be used as an extension of an mapbox-wrapper written in Java (this has to exists first). It can not be used in a webview.
 
Last edited:
Upvote 0

Similar Threads

Top