mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-23 17:22:43 +00:00
23 lines
528 B
TypeScript
23 lines
528 B
TypeScript
/*
|
|
* @format
|
|
*/
|
|
|
|
import { Datum } from '.';
|
|
|
|
import LatLonEllipsoidal, { Dms } from './latlon-ellipsoidal-datum';
|
|
|
|
declare class OsGridRef {
|
|
easting: number;
|
|
northing: number;
|
|
constructor(easting: number, northing: number);
|
|
toLatLon(datum?: Datum): LatLon_OsGridRef;
|
|
static parse(gridref: string): OsGridRef;
|
|
toString(digits?: number): string;
|
|
}
|
|
|
|
declare class LatLon_OsGridRef extends LatLonEllipsoidal {
|
|
toOsGrid(): OsGridRef;
|
|
}
|
|
|
|
export { OsGridRef as default, LatLon_OsGridRef as LatLon, Dms };
|