UNPKG

@hamset/maidenhead-locator

Version:

Maidenhead grid locator and WGS84 coordinate calculation and transformation

9 lines (8 loc) 224 B
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;