setBitmapIcon

@NonNull
fun setBitmapIcon(@NonNull bitmap: Bitmap): LocationDisplayRule.Builder

Sets the icon for this rule using a android.graphics.Bitmap

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

Return

Builder

Parameters

bitmap

A bitmap to be used as this rule's icon


@NonNull
fun setBitmapIcon(    @NonNull bitmap: Bitmap,     width: Int,     height: Int): LocationDisplayRule.Builder

Sets the icon for this rule using a android.graphics.Bitmap

Return

Builder

Parameters

bitmap

A bitmap to be used as this rule's icon

width

The width in pixels

height

The height in pixels