Skip to Content
APIMarkersEnumeration: TextPosition

Enumeration: TextPosition

Represents the possible placements of text elements in a marker container. Defines the relative positioning of text labels around marker icons.

Example

const markerConfig: MarkerConfig = { text: "Coffee Shop", textPosition: TextPosition.right, coordinate: { lat: 40.7128, lng: -74.006 }, }

Enumeration Members

bottom

bottom: 3

Text positioned below the icon


left

left: 0

Text positioned to the left of the icon


right: 1

Text positioned to the right of the icon


top

top: 2

Text positioned above the icon

Last updated on