import type { CompositeLayerProps, DefaultProps, GetPickingInfoParams, Layer, LayersList } from "@deck.gl/core"; import { CompositeLayer } from "@deck.gl/core"; import type { ScatterplotLayerProps } from "@deck.gl/layers"; import * as ga from "@geoarrow/geoarrow-js"; import type * as arrow from "apache-arrow"; import type { ColorAccessor, FloatAccessor, GeoArrowPickingInfo } from "../types"; import type { GeoArrowExtraPickingProps } from "../utils/picking"; /** All properties supported by GeoArrowScatterplotLayer */ export type GeoArrowScatterplotLayerProps = Omit, "data" | "getPosition" | "getRadius" | "getFillColor" | "getLineColor" | "getLineWidth"> & _GeoArrowScatterplotLayerProps & CompositeLayerProps; /** Properties added by GeoArrowScatterplotLayer */ type _GeoArrowScatterplotLayerProps = { data: arrow.RecordBatch; /** * If `true`, validate the arrays provided (e.g. chunk lengths) * @default true */ _validate?: boolean; /** * Center position accessor. * If not provided, will be inferred by finding a column with extension type * `"geoarrow.point"` or `"geoarrow.multipoint"`. */ getPosition?: ga.data.PointData | ga.data.MultiPointData; /** * Radius accessor. * @default 1 */ getRadius?: FloatAccessor; /** * Fill color accessor. * @default [0, 0, 0, 255] */ getFillColor?: ColorAccessor; /** * Stroke color accessor. * @default [0, 0, 0, 255] */ getLineColor?: ColorAccessor; /** * Stroke width accessor. * @default 1 */ getLineWidth?: FloatAccessor; }; export declare class GeoArrowScatterplotLayer extends CompositeLayer { static defaultProps: DefaultProps; static layerName: string; getPickingInfo(params: GetPickingInfoParams & { sourceLayer: { props: GeoArrowExtraPickingProps; }; }): GeoArrowPickingInfo; renderLayers(): Layer | LayersList | null; _renderPointLayer(geometryData: ga.data.PointData): Layer | null; _renderMultiPointLayer(multiPointData: ga.data.MultiPointData): Layer | null; } export {}; //# sourceMappingURL=scatterplot-layer.d.ts.map