AnnotationModel

23 Sep 20251 minute to read

Interface for a class Annotation

Properties

content string|Function

Gets or sets the content for the annotation in maps.

horizontalAlignment AnnotationAlignment

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

verticalAlignment AnnotationAlignment

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

x string

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

y string

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

zIndex string

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