setVectorDrawableIcon

@NonNull
open fun setVectorDrawableIcon(@DrawableRes vectorDrawableResId: Int): MPLocation.Builder

Overrides the current type icon using a android.graphics.drawable.VectorDrawable resource

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

Return

Builder

Parameters

vectorDrawableResId

@NonNull
open fun setVectorDrawableIcon(    @DrawableRes vectorDrawableResId: Int,     width: Int,     height: Int): MPLocation.Builder

Overrides the current type icon using a android.graphics.drawable.VectorDrawable resource

Return

Builder

Parameters

vectorDrawableResId
width

The width in dp

height

The height in dp