UNPKG

@mapka/react-maplibre-map

Version:

MapLibre react web component

16 lines 546 B
import type maplibre from "maplibre-gl"; import { type FC } from "react"; import type { StyleSpecification } from "@maplibre/maplibre-gl-style-spec"; interface MapLibreMapProps { center?: [number, number]; zoom?: number; style?: string | StyleSpecification; width?: string | number; height?: string | number; mapkaApiKey?: string; showFeatureTooltip?: boolean; onMapLoaded?: (map: maplibre.Map) => void; } export declare const MapLibreMap: FC<MapLibreMapProps>; export {}; //# sourceMappingURL=MapLibreMap.d.ts.map