setBitmapIcon

@NonNull
open fun setBitmapIcon(@NonNull bitmap: Bitmap): MPLocation.Builder

Overrides the current type icon being used with a 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 MPLocation's icon


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

Overrides the current type icon being used with a Bitmap

Return

Builder

Parameters

bitmap

A bitmap to be used as this MPLocation's icon

width

The width in pixels

height

The height in pixels