setSnapshotLegacyMode

fun setSnapshotLegacyMode(enabled: Boolean)

Set whether legacy mode should be used for snapshot.

Legacy mode is not that efficient (as it blocks map rendering when making the snapshot) but may help with vendor specific issues like described in https://github.com/mapbox/mapbox-maps-android/issues/2280.

Parameters

enabled

enables legacy mode when True and disables otherwise.