This commit is contained in:
choelzl 2022-02-09 21:56:25 +01:00
parent 31d9b1b7cb
commit ef373eb88e
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -35,7 +35,7 @@
} }
function toPos(coords) { function toPos(coords) {
return { lat: parseFloat(msg.split(",")[0]), lng: parseFloat(msg.split(",")[1]) }; return { lat: parseFloat(coords.split(",")[0]), lng: parseFloat(coords.split(",")[1]) };
} }
function getSurroundings (location) { function getSurroundings (location) {
const meters = 100; const meters = 100;
@ -138,10 +138,6 @@
$.setIniDbBoolean('cgstatus', 'isOpen', false) $.setIniDbBoolean('cgstatus', 'isOpen', false)
}else if(action.equalsIgnoreCase('start')){ }else if(action.equalsIgnoreCase('start')){
seed = fetchSeed(args[1]); seed = fetchSeed(args[1]);
$.log.error(seed)
$.log.error(seed.id)
$.log.error(seed['bounds'])
$.log.error(seed.bounds)
scale = calculateScale(seed.bounds) scale = calculateScale(seed.bounds)
}else if(action.equalsIgnoreCase('end')){ }else if(action.equalsIgnoreCase('end')){
isOpen = false; isOpen = false;