renderToBitmapAsync

suspend fun renderToBitmapAsync(bitmap: Bitmap, configuration: AnnotationRenderConfiguration = AnnotationRenderConfiguration.Builder().build()): Bitmap

Asynchronously renders the appearance of this annotation into the passed bitmap.

Return

the rendered bitmap.

Parameters

bitmap

Target bitmap to render the annotation into.

configuration

Advanced annotation rendering configuration. Defaults to the standard configuration.