@progress/kendo-react-map
Version:
KendoReact Map package
45 lines (44 loc) • 1.7 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { Align, Offset } from '@progress/kendo-react-popup';
import { InstanceObserver } from '@progress/kendo-charts';
import { MarkerTooltipContext } from './MarkerTooltipContext.js';
import { ShapeTooltipContext } from './ShapeTooltipContext.js';
import { BubbleTooltipContext } from './BubbleTooltipContext.js';
import { MapContext } from '../MapContext.js';
import * as React from 'react';
type TooltipContext = MarkerTooltipContext | ShapeTooltipContext | BubbleTooltipContext;
/**
* @hidden
*/
export interface MapTooltipState {
className?: string | undefined;
popupShown: boolean;
popupAlign?: Align;
popupOffset?: Offset;
popupStyles?: any;
popupContext?: TooltipContext;
shared?: boolean;
}
/**
* @hidden
*/
export declare class MapTooltip extends React.Component<{}, MapTooltipState> {
static contextType: React.Context<import('../MapContext').MapContextType | null>;
context: React.ContextType<typeof MapContext>;
readonly state: MapTooltipState;
mapObserver?: InstanceObserver;
componentDidMount(): void;
render(): React.JSX.Element | null;
componentWillUnmount(): void;
onShowTooltip(e: any): void;
onHideTooltip(): void;
createTooltipContext(e: any): TooltipContext;
findRenderFunctionByLayer(layerIndex: number): any;
}
export {};