Builder
class Builder : ViewObjectDataBuilder<SmartLabelData.Builder, MapSmartLabel, SmartLabelData>
Content copied to clipboard
Constructors
Builder
Link copied to clipboard
open fun Builder(@NonNull route: Route, creator: ObjectCreator<MapSmartLabel, SmartLabelData>)
Content copied to clipboard
Functions
set Anchor Offset
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.
set Clickable Area
Link copied to clipboard
open fun setClickableArea(left: Int, top: Int, rigth: Int, bottom: Int): SmartLabelData.Builder
Content copied to clipboard
Set clickable area defined by margins from image edges
set Forced Size
Link copied to clipboard
Set forced size of a label in pixels
set Horizontal Mirroring Enabled
Link copied to clipboard
open fun setHorizontalMirroringEnabled(horizontalMirroringEnabled: Boolean): SmartLabelData.Builder
Content copied to clipboard
Enable/disable label background to be mirrored horizontally
set Image Bitmap
Link copied to clipboard
open fun setImageBitmap(@NonNull imageBitmap: BitmapFactory): SmartLabelData.Builder
Content copied to clipboard
Set image of the smart label
set Max Image Size
Link copied to clipboard
Set maximum image size in pixels
set Max Text Size
Link copied to clipboard
Set maximum text size in pixels
set Max Zoom Level
Link copied to clipboard
Set maximum zoom level for displaying the marker
set Min Zoom Level
Link copied to clipboard
Set minimum zoom level for displaying the marker
set Style Bitmap
Link copied to clipboard
open fun setStyleBitmap(@NonNull styleBitmap: BitmapFactory): SmartLabelData.Builder
Content copied to clipboard
Set background of the smart label.
set Text
Link copied to clipboard
Set the text to be displayed inside label
set Vertical Mirroring Enabled
Link copied to clipboard
open fun setVerticalMirroringEnabled(verticalMirroringEnabled: Boolean): SmartLabelData.Builder
Content copied to clipboard
Enable/disable label background to be mirrored vertically
with Payload
Link copied to clipboard