# queryBoxes

The boxes to ask a provider for `window`, each inside -180 to 180: the
window itself, or when it crosses the antimeridian (`east` past 180) the
part from `west` to 180 and then the part from -180 to the rest. The
boxes meet at the line and cover the window exactly.

This is a function exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import { queryBoxes } from "@mapcairn/core";
 
function queryBoxes(window: Bounds): Bounds[];
```

## Parameters

- `window` (`Bounds`)

## Returns

`Bounds[]`

## See also

- [`Bounds`](https://docs.mapcairn.com/api/core/Bounds.md)

Source: [packages/core/src/layers/query.ts:90](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/query.ts#L90)
