@jdthfe/gmap
Version:
JDC gmap bundle
18 lines (16 loc) • 378 B
TypeScript
declare function renderMap(
mapContainer: HTMLElement,
{
callback,
key,
libraries,
}: { callback: string; key: string; libraries?: string },
opts?: google.maps.MapOptions | undefined
): Promise<{ map: google.maps.Map; util: JDCGmap }>;
declare global {
interface Window {
renderMap: typeof renderMap;
[key: string]: any;
}
}
export = renderMap;