Skip to main content

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​

import { queryBoxes } from "@mapcairn/core";

function queryBoxes(window: Bounds): Bounds[];

Parameters​

  • window (Bounds)

Returns​

Bounds[]

See also​

Source: packages/core/src/layers/query.ts:90