View as Markdown

API reference: @salmonui/charts/geo-map

GeoMapTooltipContextinterface

import type { GeoMapTooltipContext } from '@salmonui/charts/geo-map';
interface GeoMapTooltipContext {
    readonly target: 'shape' | 'marker' | 'bubble' | 'cluster';
    readonly layerId: string;
    readonly name: string;
    readonly datum: unknown;
    readonly value?: unknown;
}
GeoMapTooltipContext members (5)
NameSignatureDescription
targetreadonly target: 'shape' | 'marker' | 'bubble' | 'cluster';
layerIdreadonly layerId: string;
namereadonly name: string;
datumreadonly datum: unknown;
valueoptionalreadonly value?: unknown;