Type Alias TMarkerAnchor

TMarkerAnchor:
    | "center"
    | "top"
    | "left"
    | "bottom"
    | "right"
    | "top-left"
    | "top-right"
    | "bottom-left"
    | "bottom-right"

Defines the anchor point for a Marker, offering a selection of intuitive string options to pinpoint where the marker should be anchored. Choose from:

Value Description
'center' Anchors the marker at its center, offering a balanced and centered appearance.
'top' Anchors the marker at the top, ideal for marking locations from above.
'left' Anchors the marker on the left side, useful for when space is limited on the right.
'bottom' Anchors the marker at the bottom, suitable for hanging markers or when space is limited above.
'right' Anchors the marker on the right side, convenient for when space is limited on the left.