Search results

Annotation API in JavaScript (ES5) Maps API control

Gets or sets the options for customizing the annotation element in maps.

Properties

content

string | Function

Gets or sets the content for the annotation in maps.

Defaults to

horizontalAlignment

AnnotationAlignment

Gets or sets the type of the placement when the annotation is to be aligned horizontally.

Defaults to None

verticalAlignment

AnnotationAlignment

Gets or sets the type of the placement when the annotation is to be aligned vertically.

Defaults to None

x

string

Gets or sets the x position of the annotation in pixel or percentage format.

Defaults to ‘0px’

y

string

Gets or sets the y position of the annotation in pixel or percentage format.

Defaults to ‘0px’

zIndex

string

Gets or sets the z-index of the annotation in maps.

Defaults to ‘-1’