/** * Copyright (c) ACT, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import { FeatureHoverProps, MapProps } from "../Map"; import { MapPopupProps } from "../MapPopup"; import { IMapDataProps } from "../../types"; import type GeoJSON from 'geojson'; export interface SCFMapProps { data: Array; geoJSONPath: string; mapboxAccessToken: string; mapPopupProps?: Partial; mapProps?: Omit, 'mapboxAccessToken'>; onHoverInfo?: FeatureHoverProps; processDataFn?: (featureCollection: GeoJSON.FeatureCollection, data: Array) => GeoJSON.FeatureCollection; selectedSCF?: Array; setOnHoverInfo?: (newHoverInfo: FeatureHoverProps | undefined) => void; tooltipElement?: React.ReactElement; } /** * SCFMap component which under the hood uses mapbox and react-map-gl. For this to work it's necessary * to add the link bellow in the head of your page: * For more information: https://visgl.github.io/react-map-gl/docs/get-started/get-started#styling */ export declare const SCFMap: React.FC; export default SCFMap; //# sourceMappingURL=index.d.ts.map