import r from"@babel/runtime/helpers/slicedToArray";import{useState as n,useCallback as o}from"react";var e=function(e){var i=n(!1),t=r(i,2),l=t[0],v=t[1];return{isMoving:l,handleMoveStart:o((function(){return v(!0)}),[]),handleMoveEnd:o((function(){var r,n,o=null===(r=e.current)||void 0===r?void 0:r.getMap();v(null!==(n=null==o?void 0:o.isMoving())&&void 0!==n&&n)}),[e])}};export{e as useIsMapMoving};
//# sourceMappingURL=useIsMapMoving.js.map
