mapbox-gl-native-android
mapbox-gl-native-android copied to clipboard
MapSnapshotter add LocationComponent and annotation on bitmap
I am trying to get a screenshot of my app, when I try to draw my root view to a canvas then the mapbox appears as a black box. When using the MapSnapshotter I an getting an image from the map but the Markers and the users location arrow indicator are not rendered. Is it a way to configure MapSnaphotter in order to include everything that is on the map in the snapshot bitmap?
Also the layers do not appear on the snapshot. Any ideas?
+1