import{r as n}from"./index-D4ZMoJFe.js";import{f as o}from"./TileLayer-BRQ5IQYZ.js";function r(){return o().map}function p(e){const t=r();return n.useEffect(function(){return t.on(e),function(){t.off(e)}},[t,e]),t}export{p as a,r as u};
