@r2don/react-naver-map
Version:
## Introduction
17 lines (16 loc) • 489 B
TypeScript
export interface InitParams {
ncpKeyId: string;
submodules?: Submodule[];
onLoad?: VoidFunction;
onError?: VoidFunction;
}
export interface InitResult {
isLoaded: boolean;
isError: boolean;
}
export declare type UseNaverMapInit = (params: InitParams) => InitResult;
/**
* naver map submodule
* @link https://navermaps.github.io/maps.js.ncp/docs/tutorial-4-Submodules.html
*/
export declare type Submodule = "panorama" | "geocoder" | "drawing" | "visualization";