Skip to Content
API ReferenceMapLzAnnotationConfigurationBuilder

LzAnnotationConfigurationBuilder

class LzAnnotationConfigurationBuilder(id: String, coordinate: LatLng)

Fluent builder for constructing LzAnnotationConfiguration instances.

All properties have sensible defaults; only id and coordinate are required (provided in the constructor).

See also

LzAnnotationConfiguration

Constructors

LzAnnotationConfigurationBuilderconstructor(id: String , coordinate: LatLng)

Functions

borderColor

fun borderColor(borderColor: String?): LzAnnotationConfigurationBuilder

build

fun build(): LzAnnotationConfiguration

Types: LzAnnotationConfiguration

Builds a new LzAnnotationConfiguration with the configured properties.

draggable

fun draggable(draggable: Boolean): LzAnnotationConfigurationBuilder

floorId

fun floorId(floorId: String?): LzAnnotationConfigurationBuilder

iconColor

fun iconColor(iconColor: String?): LzAnnotationConfigurationBuilder

iconCornerRadius

fun iconCornerRadius(iconCornerRadius: Float): LzAnnotationConfigurationBuilder

iconSize

fun iconSize(iconSize: Float): LzAnnotationConfigurationBuilder

imageBitmap

fun imageBitmap(imageBitmap: Bitmap?): LzAnnotationConfigurationBuilder

imageRef

fun imageRef(imageRef: String?): LzAnnotationConfigurationBuilder

imageUrl

fun imageUrl(imageUrl: String?): LzAnnotationConfigurationBuilder

isFlat

fun isFlat(isFlat: Boolean): LzAnnotationConfigurationBuilder

opacity

fun opacity(opacity: Float): LzAnnotationConfigurationBuilder

rawBitmapSize

fun rawBitmapSize(rawBitmapSize: Boolean): LzAnnotationConfigurationBuilder

text

fun text(text: String?): LzAnnotationConfigurationBuilder

textBackgroundColor

fun textBackgroundColor(textBackgroundColor: String?): LzAnnotationConfigurationBuilder

textColor

fun textColor(textColor: String?): LzAnnotationConfigurationBuilder

textFontSize

fun textFontSize(textFontSize: Float): LzAnnotationConfigurationBuilder

textHaloBlur

fun textHaloBlur(textHaloBlur: Float): LzAnnotationConfigurationBuilder

textHaloColor

fun textHaloColor(textHaloColor: String?): LzAnnotationConfigurationBuilder

textHaloWidth

fun textHaloWidth(textHaloWidth: Float): LzAnnotationConfigurationBuilder

textPosition

fun textPosition(textPosition: TextPosition): LzAnnotationConfigurationBuilder

Types: TextPosition

Last updated on