Skip to Content
API ReferenceMapTextPosition

TextPosition

enum TextPosition : Enum<TextPosition>

Defines how text is positioned relative to the marker icon.

Used in LzAnnotationConfiguration to control the text anchor and offset when rendering marker labels on a LazarilloMap.

Entries

TOPTOP
BOTTOMBOTTOM
LEFTLEFT
RIGHTRIGHT

Properties

entries

val entries: EnumEntries<TextPosition>

Returns a representation of an immutable list of all enum entries, in the order they’re declared.

name

val name: String

ordinal

val ordinal: Int

Functions

valueOf

fun valueOf(value: String): TextPosition

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values

fun values(): Array<TextPosition>

Returns an array containing the constants of this enum type, in the order they’re declared.

Last updated on