toBitmapDescriptor

fun Drawable.toBitmapDescriptor(): BitmapDescriptor

Demonstrates converting a Drawable to a BitmapDescriptor, for use as a marker icon.