UNPKG

@opendatasoft/visualizations

Version:

Opendatasoft's components to easily build dashboards and visualizations.

20 lines (16 loc) 525 B
import type { Async, Source } from 'types'; import type { CategoryLegend } from 'components/Legend/types'; import type { WebGlMapData, WebGlMapOptions } from 'components/Map/WebGl/types'; export type PoiMapData = Async<WebGlMapData>; export type PoiMapOptions = WebGlMapOptions & { title?: string; subtitle?: string; description?: string; legend?: CategoryLegend; /** Link button to source */ sourceLink?: Source; }; export type PoiMapProps = { data: PoiMapData; options: PoiMapOptions; };