geospatialdraw
Version:
Geospatial Map Drawing Library
25 lines (24 loc) • 658 B
TypeScript
import { UTM } from './utm-formatting';
import { DMS } from './dms-formatting';
import { Extent } from '../geometry';
type Position = 'north' | 'south' | 'east' | 'west';
type BBox = Extent;
type LatLonBBox = {
[Key in Position]: number;
};
type LatLonDMSBBox = {
[Key in Position]: DMS;
};
type USNGBBox = string;
type UTMBBox = {
upperLeft: UTM;
lowerRight: UTM;
};
type CoordinateValue = LatLonBBox | LatLonDMSBBox | USNGBBox | UTMBBox;
declare const Indexes: {
north: number;
south: number;
west: number;
east: number;
};
export { BBox, CoordinateValue, Indexes, LatLonBBox, LatLonDMSBBox, Position, USNGBBox, UTMBBox, };