cleanup & update
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { Label } from "@components/UI/Label.js";
|
||||
import { ErrorMessage } from "@hookform/error-message";
|
||||
|
||||
export interface FieldWrapperProps {
|
||||
label: string;
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
import { LatLon } from "geodesy/mgrs.js";
|
||||
|
||||
export const toMGRS = (lat?: number, lng?: number) => {
|
||||
if (lat && lng && lat !== 0 && lng !== 0) {
|
||||
return new LatLon(lat / 1e7, lng / 1e7).toUtm().toMgrs().toString();
|
||||
}
|
||||
return "No Fix.";
|
||||
};
|
||||
Reference in New Issue
Block a user