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.
'top-left' Anchors the marker at the top-left corner.
'top-right' Anchors the marker at the top-right corner.
'bottom-left' Anchors the marker at the bottom-left corner.
'bottom-right' Anchors the marker at the bottom-right corner.