UNPKG

kepler.gl

Version:

kepler.gl is a webgl based application to visualize large scale location data in the browser

21 lines (20 loc) 733 B
import { CompositeLayer, CompositeLayerProps, Layer, Position } from '@deck.gl/core'; import { RGBColor, RGBAColor } from '@kepler.gl/types'; export interface SvgIconLayerProps extends CompositeLayerProps { getIconGeometry: (i: string) => number[]; getIcon: (d: { icon: string; }) => string; getPosition: (d: any) => Position; getRadius: ((d: any) => number) | number; getFillColor: RGBColor | RGBAColor; } export default class SvgIconLayer extends CompositeLayer<SvgIconLayerProps> { initializeState(): void; updateState({ changeFlags }: { changeFlags: any; }): void; _extractSublayers(): void; _updateAutoHighlight(info: any): void; renderLayers(): Layer[] | null; }