8000 GitHub - jleh/qth-locator: Operations with Maidenhead locator system
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jleh/qth-locator

Repository files navigation

qth-locator

Operations with Maidenhead locator system

Usage

const { locatorToLatLng, distance, bearingDistance, latLngToLocator } = require('qth-locator');

locatorToLatLng('IO91wm'); // [51.521, -0.125]
distance('IO91wm', 'KP20le'); // 1821.5 km
bearingDistance('FN20qr', 'KP21ol') // 6586.72 km, 49.16 degrees
latLngToLocator(60.179, 24.945) // KP21le

License

MIT

0