From 5ca588bc4d757c47a908d38a649f1564d2998ffc Mon Sep 17 00:00:00 2001 From: Oscar Lorentzon Date: Tue, 23 Nov 2021 13:57:05 +0100 Subject: [PATCH] feat: expose geo conversion methods in api --- src/api/Common.ts | 1 - src/external/api.ts | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/api/Common.ts b/src/api/Common.ts index 1277aae66..2aa59b59b 100644 --- a/src/api/Common.ts +++ b/src/api/Common.ts @@ -43,7 +43,6 @@ export function fetchArrayBuffer( const method = "GET"; const responseType = "arraybuffer"; return xhrFetch(url, method, responseType, [], null, abort); - } export function xhrFetch( diff --git a/src/external/api.ts b/src/external/api.ts index 954bd1893..d9a64c1e0 100644 --- a/src/external/api.ts +++ b/src/external/api.ts @@ -7,7 +7,11 @@ // Geo export { + ecefToEnu, + ecefToGeodetic, + enuToEcef, enuToGeodetic, + geodeticToEcef, geodeticToEnu, } from "../geo/GeoCoords";