UNPKG

@gooddata/react-components

Version:

GoodData.UI - A powerful JavaScript library for building analytical applications

8 lines (7 loc) 685 B
import mapboxgl from "mapbox-gl"; import { ISeparators } from "@gooddata/numberjs"; import { IGeoConfig } from "../../../interfaces/GeoChart"; export declare function shouldShowTooltip(geoProperties: GeoJSON.GeoJsonProperties): boolean; export declare function getTooltipHtml(geoProperties: GeoJSON.GeoJsonProperties, tooltipStroke: string, maxWidth: number, separators?: ISeparators): string; export declare const handlePushpinMouseEnter: (e: mapboxgl.EventData, chart: mapboxgl.Map, tooltip: mapboxgl.Popup, config: IGeoConfig) => void; export declare const handlePushpinMouseLeave: (_e: mapboxgl.EventData, chart: mapboxgl.Map, tooltip: mapboxgl.Popup, config: IGeoConfig) => void;