UNPKG
@hamset/maidenhead-locator
Version:
latest (0.2.1)
0.2.1
0.2.0
0.1.1
0.1.0
0.0.0
Maidenhead grid locator and WGS84 coordinate calculation and transformation
@hamset/maidenhead-locator
/
dist
/
types.d.ts
9 lines
(8 loc)
•
224 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
export
type
LatLng
= [
number
,
number
];
export
interface
WGS84
{
lat
:
number
;
lng
:
number
; }
export
type
CoordinateLike
=
LatLng
|
WGS84
;
export
type
LatLngBounds
= [
LatLng
,
LatLng
];
export
type
GridLocator
=
string
;