UNPKG

@syncfusion/ej2-maps

Version:

The Maps component is used to visualize the geographical data and represent the statistical data of a particular geographical area on earth with user interactivity, and provides various customizing options

46 lines (45 loc) 1.41 kB
import { Maps } from '../../index'; import { LayerSettings } from '../index'; /** * DataLabel Module used to render the maps datalabel */ export declare class DataLabel { private maps; /** * Datalabel collections * * @private */ dataLabelCollections: any[]; private value; constructor(maps: Maps); private getDataLabel; /** * To render label for maps. * * @param {LayerSettings} layer - Specifies the layer settings * @param {number} layerIndex - Specifies the layer index. * @param {object} shape - Specifies the shape. * @param {any[]} layerData - Specifies the layer data. * @param {Element} group Specifies the element. * @param {HTMLElement} labelTemplateElement - Specifies the template element. * @param {number} index - Specifies the index number. * @param {any[]} intersect - Specifies the intersect. * @returns {void} * @private */ renderLabel(layer: LayerSettings, layerIndex: number, shape: object, layerData: any[], group: Element, labelTemplateElement: HTMLElement, index: number, intersect: any[]): void; private datalabelAnimate; private getPoint; /** * Get module name. * * @returns {string} - Returns the module name. */ protected getModuleName(): string; /** * @returns {void} * @private */ destroy(): void; }