UNPKG

realmap

Version:

Wooritech map chart component library

48 lines (44 loc) 1.71 kB
import * as RealMap from 'realmap'; import { ValueSeries, FeatureSeriesOptions, Color, IChart, DataPointLabel, ILegendSource, ValuePoint, MapCoord } from 'realmap'; declare class FeatureSeriesPoint extends ValuePoint { type?: any; center: MapCoord; protected _readObject(series: FeatureSeries, v: any): void; } /** * Map 시리즈 모델.<br/> * {@page op.SeriesOptions#type}은 {@page config.series.map 'map'}이고, * {@page options 설정} 모델은 {@page op.FeatureSeriesOptions}이다. */ declare class FeatureSeries extends ValueSeries<FeatureSeriesOptions> { static type: string; static defaults: FeatureSeriesOptions; private _detail; private _minValue; private _maxValue; private _colorObj; private _color; private _useMapData; get areaCount(): number; get detail(): FeatureSeries; get color(): Color; private _colorRanger; getValueRange(): { min: number; max: number; }; protected _createLabel(chart: IChart): DataPointLabel; protected _doApply(options: FeatureSeriesOptions): void; needMapScale(): boolean; getRangedColor(p: FeatureSeriesPoint): string; followTooltipPointer(): boolean; getLegendSources(legend: object, list: ILegendSource[]): void; protected _createPoint(source: any): FeatureSeriesPoint; _prepareRender(): void; protected _doPrepareRender(chart: IChart, op: FeatureSeriesOptions): void; protected _doLoadPoints(src: any): void; setCalcedColor(cs: CSSStyleDeclaration, prop: string): void; getColorScale(): string | number; } declare function registerSeries(chart: typeof RealMap): void; export { FeatureSeries, registerSeries as default };