@r2don/react-naver-map
Version:
## Introduction
13 lines (12 loc) • 338 B
TypeScript
/**
* A hook to handle zoom level of map
*
* If you want to make custom zoom level controls, this is the hook you need
*
* Make sure to use this hook inside of Map context
*/
export declare const useZoom: () => {
zoomIn: () => void;
zoomOut: () => void;
setZoom: (zoom: number, effect?: boolean | undefined) => void;
};