Add stats track tests (failing)

This commit is contained in:
Norbert Renner 2021-10-14 17:53:21 +02:00
parent bd2e89ef06
commit 7c8c71a3de
4 changed files with 66 additions and 8 deletions

View file

@ -107,3 +107,10 @@ btools = {};
})((util = btools.util || (btools.util = {})));
})(btools || (btools = {}));
btools.util.CheapRuler.__static_initialize();
btools.util.CheapRuler.toIntegerLngLat = (coordinate) => {
const ilon = (coordinate[0] + 180) * 1e6;
const ilat = (coordinate[1] + 90) * 1e6;
return [ilon, ilat];
};