Add stats track tests (failing)
This commit is contained in:
parent
bd2e89ef06
commit
7c8c71a3de
4 changed files with 66 additions and 8 deletions
|
|
@ -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];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue