react-gallimaps
Version:
A minimalist React wrapper for GalliMaps Vector Plugin - Easy integration for Nepal's mapping solution
10 lines (9 loc) • 366 B
TypeScript
import React from 'react';
export type MarkerData = {
position: [number, number];
onClick?: (marker: any) => void;
};
export declare function MarkerRegistryProvider({ children }: {
children: React.ReactNode;
}): import("react/jsx-runtime").JSX.Element;
export declare function useMarkerRegistry(): React.MutableRefObject<Map<string, MarkerData>> | null;