withLabel

open fun withLabel(@NonNull() label: String): MarkerData.Builder

Set the label to be displayed with marker.

Parameters

label

Label to be displayed.

open fun withLabel(@NonNull() styledLabel: StyledText): MarkerData.Builder

Set the styled label to be displayed with marker.

Parameters

styledLabel

StyledText to be displayed.