import { GlobalProps } from '../../shared/global'; import { SizingProps } from '../../shared/box'; import { InteractionProps } from '../../shared/clickable'; import { ComponentChildren } from '../../shared/children'; export interface MapMarkerProps extends GlobalProps, InteractionProps, Pick { /** * Marker’s location latitude in degrees. */ latitude?: number; /** * Marker’s longitude latitude in degrees. */ longitude?: number; /** * A label that describes the purpose of the marker. When set, * it will be announced to users using assistive technologies and will * provide them with more context. */ accessibilityLabel?: string; /** * Allows grouping the marker in clusters when zoomed out. * * @default false */ clusterable?: boolean; /** * The graphic to use as the marker. * * If unset, it will default to the provider’s default marker. */ graphic?: ComponentChildren; /** * Callback when a marker is clicked. * * It does not trigger a click event on the map itself. */ onClick?: () => void; }