<How to make screenshot of SurfaceView> I need to ...
# stackoverflow
r
How to make screenshot of SurfaceView I need to create screenshots from fragment which runs MapBox map with navigation turn by turn. As far as I know MapBox runs in SurfaceView so calling .createBitmap() doesn't work properly. I can't call implemented MapSnapshotter since it doesn't export map with overlays such as: MapboxRouteLine, Puck etc. I tried getting SurfaceView from MapboxGLSurfaceView but with no success. I want to ask how to export MapBox with all overlays?