setBitmapDrawableIcon

@NonNull
fun setBitmapDrawableIcon(@DrawableRes bitmapDrawableResId: Int): LocationDisplayRule.Builder

Sets the icon for this rule using a android.graphics.drawable.BitmapDrawable resource

Note that the size of the icon will be set to the default one set by setDisplayRuleDefaultIconSize

Return

Builder

Parameters

bitmapDrawableResId

@NonNull
fun setBitmapDrawableIcon(    @DrawableRes bitmapDrawableResId: Int,     width: Int,     height: Int): LocationDisplayRule.Builder

Sets the icon for this rule using a android.graphics.drawable.BitmapDrawable resource

Return

Builder

Parameters

bitmapDrawableResId
width

The width in dp

height

The height in dp