import L from 'leaflet'; import { BoundsDriftMarkerProps } from './BoundsDriftMarker'; import { MarkerScaleAddon, ContainerStylesAddon } from '../types/plots'; export interface DonutMarkerProps extends BoundsDriftMarkerProps, MarkerScaleAddon { data: { value: number; label: string; color?: string; }[]; isAtomic?: boolean; onClick?: (event: L.LeafletMouseEvent) => void | undefined; /** center title/number for marker (defaults to sum of data[].value) */ markerLabel?: string; /** cumulative mode: values are expected in order and to **already** be cumulative in nature. * That is, values 20, 40, 60, 80, 100 would generate five equal-sized segments. The final * value does not have to be 100. 2,4,6,8,10 would produce the same donut * (but with different mouse-overs in the enlarged version.) */ cumulative?: boolean; } /** * this is a SVG donut marker icon */ export default function DonutMarker(props: DonutMarkerProps): JSX.Element; declare type DonutMarkerStandaloneProps = Omit & ContainerStylesAddon; export declare function DonutMarkerStandalone(props: DonutMarkerStandaloneProps): JSX.Element; export {}; //# sourceMappingURL=DonutMarker.d.ts.map