import type { CompositeLayerProps, DefaultProps, GetPickingInfoParams, Layer, LayersList } from "@deck.gl/core"; import { CompositeLayer } from "@deck.gl/core"; import type { PathLayerProps } 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 GeoArrowPathLayer */ export type GeoArrowPathLayerProps = Omit, "data" | "getPath" | "getColor" | "getWidth"> & _GeoArrowPathLayerProps & CompositeLayerProps; /** Properties added by GeoArrowPathLayer */ type _GeoArrowPathLayerProps = { data: arrow.RecordBatch; /** * If `true`, validate the arrays provided (e.g. chunk lengths) * @default true */ _validate?: boolean; /** * Path geometry accessor. */ getPath?: ga.data.LineStringData | ga.data.MultiLineStringData; /** * Path color accessor. * @default [0, 0, 0, 255] */ getColor?: ColorAccessor; /** * Path width accessor. * @default 1 */ getWidth?: FloatAccessor; }; export declare const defaultProps: DefaultProps; /** * Render lists of coordinate points as extruded polylines with mitering. */ export declare class GeoArrowPathLayer extends CompositeLayer { static defaultProps: DefaultProps; static layerName: string; getPickingInfo(params: GetPickingInfoParams & { sourceLayer: { props: GeoArrowExtraPickingProps; }; }): GeoArrowPickingInfo; renderLayers(): Layer | LayersList | null; _renderLineStringLayer(lineStringData: ga.data.LineStringData): Layer | LayersList | null; _renderMultiLineStringLayer(multiLineStringData: ga.data.MultiLineStringData): Layer | LayersList | null; } export {}; //# sourceMappingURL=path-layer.d.ts.map