Home > @magiclane/maps-sdk > PopupOptions > anchor
PopupOptions.anchor property
Which side of the coordinate the popup sits on. Default: 'bottom' edge of the popup points at the coordinate (popup above it).
Signature:
anchor?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';