Hi,
Why is called forward and toPoint ?
When using esm import, the function name are not clear at all.
Shouldn't it use clearer name like: mgrsToLatlong and latlongtoMgrs ?
So instead of this:
import { forward, toPoint } from 'mgrs';
mgrs = forward([form.value.local.lat, form.value.local.long]);
const [lat, long] = toPoint(form.value.local.mgrs);
We would have this:
import { latlongtoMgrs, mgrsToLatlong } from 'mgrs';
mgrs = latlongtoMgrs([form.value.local.lat, form.value.local.long]);
const [lat, long] = mgrsToLatlong(form.value.local.mgrs);
Hi,
Why is called
forwardandtoPoint?When using
esmimport, the function name are not clear at all.Shouldn't it use clearer name like:
mgrsToLatlongandlatlongtoMgrs?So instead of this:
We would have this: