sdk-maps / com.tomtom.online.sdk.map.style.sources / ImageSource / setImage

setImage

@Beta(2020, 12) abstract fun setImage(@NonNull bitmap: Bitmap): Unit

Updates the source image to a bitmap.

@Beta(2020, 12) abstract fun setImage(@NonNull drawable: Drawable): Unit

Updates the source image to a bitmap obtained from drawable.