@fchh/fcos-suite-map
Version:
This project contains a Map component that can be used to display relevant locations of a Fab City. It is a npm package that contains a React component, which can be embedded into other web projects. It uses Mapbox GL as an interactive mapping framework a
12 lines (11 loc) • 415 B
TypeScript
import { PointOfInterest } from 'src/types/PointOfInterest';
export interface poiData {
data: PointOfInterest[] | undefined;
}
export interface poiFilteredData extends poiData {
filterTags: string[] | null;
setFilterTags: (tags: string[]) => void;
filterCategories: string[];
setFilterCategories: (categories: string[]) => void;
}
export declare const useFilteredPoiData: () => poiFilteredData;