setVectorDrawableIcon

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

Sets the icon for this rule 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
fun setVectorDrawableIcon(    @DrawableRes vectorDrawableResId: Int,     width: Int,     height: Int): LocationDisplayRule.Builder

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

Return

Builder

Parameters

vectorDrawableResId
width

The width in dp

height

The height in dp