-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
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);Metadata
Metadata
Assignees
Labels
No labels