import { GeoJsonLayer } from '@deck.gl/layers'; import AggregationLayer, { AggregationLayerConfig } from '../aggregation-layer'; import EnhancedHexagonLayer from 'deckgl-layers/hexagon-layer/enhanced-hexagon-layer'; import HexagonLayerIcon from './hexagon-layer-icon'; import { Merge } from '../../reducers'; import { AggregationTypes, VisConfigBoolean, VisConfigColorRange, VisConfigNumber, VisConfigRange, VisConfigSelection } from '../layer-factory'; import { ColorRange } from '../../constants/color-ranges'; export type HexagonLayerVisConfigSettings = { opacity: VisConfigNumber; worldUnitSize: VisConfigNumber; resolution: VisConfigNumber; colorRange: VisConfigColorRange; coverage: VisConfigNumber; sizeRange: VisConfigRange; percentile: VisConfigRange; elevationPercentile: VisConfigRange; elevationScale: VisConfigNumber; enableElevationZoomFactor: VisConfigBoolean; colorAggregation: VisConfigSelection; sizeAggregation: VisConfigSelection; enable3d: VisConfigBoolean; }; export type HexagonLayerVisConfig = { opacity: number; worldUnitSize: number; resolution: number; colorRange: ColorRange; coverage: number; sizeRange: [number, number]; percentile: [number, number]; elevationPercentile: [number, number]; elevationScale: number; enableElevationZoomFactor: boolean; colorAggregation: AggregationTypes; sizeAggregation: AggregationTypes; enable3d: boolean; }; export type HexagonLayerConfig = Merge; export declare const hexagonVisConfigs: { opacity: 'opacity'; worldUnitSize: 'worldUnitSize'; resolution: 'resolution'; colorRange: 'colorRange'; coverage: 'coverage'; sizeRange: 'elevationRange'; percentile: 'percentile'; elevationPercentile: 'elevationPercentile'; elevationScale: 'elevationScale'; enableElevationZoomFactor: 'enableElevationZoomFactor'; colorAggregation: 'colorAggregation'; sizeAggregation: 'sizeAggregation'; enable3d: 'enable3d'; }; export default class HexagonLayer extends AggregationLayer { visConfigSettings: HexagonLayerVisConfigSettings; config: HexagonLayerConfig; constructor(props: any); get type(): string; get name(): string; get layerIcon(): typeof HexagonLayerIcon; renderLayer(opts: any): (EnhancedHexagonLayer | GeoJsonLayer)[]; }