@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
15 lines (14 loc) • 465 B
TypeScript
import { PointOfInterest } from 'src/types/PointOfInterest';
interface FabCityMapProps {
data: PointOfInterest[] | null;
mapboxToken: string;
className?: string;
baseUrl?: string;
mapStyle?: string;
poiRoutePrefix?: string;
categoryColorMapping?: Record<string, string>;
tagColorMapping?: Record<string, string>;
defaultCenter?: [number, number];
}
declare const FabCityMap: React.FC<FabCityMapProps>;
export default FabCityMap;