Builder
Constructors
Link copied to clipboard
open fun Builder(@NonNull route: Route, creator: ObjectCreator<MapSmartLabel, SmartLabelData>)
Content copied to clipboard
Functions
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
Content copied to clipboard
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
Content copied to clipboard
Enable/disable label background to be mirrored horizontally
Link copied to clipboard
open fun setImageBitmap(@NonNull imageBitmap: BitmapFactory): SmartLabelData.Builder
Content 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
open fun setStyleBitmap(@NonNull styleBitmap: BitmapFactory): SmartLabelData.Builder
Content 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
Content copied to clipboard
Enable/disable label background to be mirrored vertically
Link copied to clipboard