import{MercatorCoordinate as t}from"mapbox-gl";var n=function(n,o,a,r){var e=512*Math.pow(2,o),g=t.fromLngLat(n),L=a/2/e,l=r/2/e,m=new t(g.x-L,g.y+l,0).toLngLat(),p=new t(g.x+L,g.y-l,0).toLngLat();return{north:p.lat,south:m.lat,east:p.lng,west:m.lng}};export{n as getViewportBounds};
//# sourceMappingURL=getViewportBounds.js.map
