AnnotationDirective

12 Sep 20251 minute to read

Represents the directive to define the annotations in the maps.

<e-maps-annotations>
<e-maps-annotation></e-maps-annotation>
</e-maps-annotations>

Properties

content any

Gets or sets the content for the annotation in maps.

Defaults to ’’

horizontalAlignment any

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

Defaults to None

verticalAlignment any

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

Defaults to None

x any

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

Defaults to ‘0px’

y any

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

Defaults to ‘0px’

zIndex any

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

Defaults to ‘-1’