qth-locator

2.1.0 • Public • Published

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

Package Sidebar

Install

npm i qth-locator

Weekly Downloads

44

Version

2.1.0

License

MIT

Unpacked Size

7.12 kB

Total Files

6

Last publish

Collaborators

  • jleh