@dossierhq/integration-test
Version:
Integration test to ensure that different Dossier database adapters work as expected.
6 lines (5 loc) • 415 B
TypeScript
import type { BoundingBox, Location } from '@dossierhq/core';
/** Random bounding box (which doesn't wrap 180/-180 longitude to make calculations easier) */
export declare function randomBoundingBox(heightLat?: number, widthLng?: number): BoundingBox;
export declare function boundingBoxCenter(boundingBox: BoundingBox): Location;
export declare function boundingBoxBelowCenter(boundingBox: BoundingBox): Location;