Builder

class Builder : ViewObjectDataBuilder<B, I, D>

Constructors

Link copied to clipboard
constructor(@NonNull route: Route, creator: ObjectCreator<MapSmartLabel, SmartLabelData>)

Functions

Link copied to clipboard
fun build(): I
Link copied to clipboard
Set the relative position of MapSmartLabel from its anchored location Value 0,0 is top left location, 1,1 is bottom right Default value is 0.0,0.
Link copied to clipboard
open fun setClickableArea(left: Int, top: Int, rigth: Int, bottom: Int): SmartLabelData.Builder
Set clickable area defined by margins from image edges
Link copied to clipboard
Set forced size of a label in pixels
Link copied to clipboard
open fun setHorizontalMirroringEnabled(horizontalMirroringEnabled: Boolean): SmartLabelData.Builder
Enable/disable label background to be mirrored horizontally
Link copied to clipboard
Set image of the smart label
Link copied to clipboard
Set maximum image size in pixels
Link copied to clipboard
Set maximum text size in pixels
Link copied to clipboard
Set maximum zoom level for displaying the marker
Link copied to clipboard
Set minimum zoom level for displaying the marker
Link copied to clipboard
Set background of the smart label.
Link copied to clipboard
Set the text to be displayed inside label
Link copied to clipboard
open fun setVerticalMirroringEnabled(verticalMirroringEnabled: Boolean): SmartLabelData.Builder
Enable/disable label background to be mirrored vertically
Link copied to clipboard
fun setZIndex(zIndex: Int): B
Link copied to clipboard
fun withPayload(@NonNull payload: Parcelable): B