@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
11 lines (10 loc) • 361 B
TypeScript
import { AllGeoJSON } from "@turf/turf";
import { BBox } from "../types/geojson.js";
/**
* Returns the maximum width of the geojson or bbox
*/
export declare const maxWidth: (geojson: AllGeoJSON | BBox) => number;
/**
* Returns the minimum width of the bounding box of given feature
*/
export declare const minWidth: (geojson: AllGeoJSON | BBox) => number;