add cityCoords

params for city chnaged
add 'center city' in settings
This commit is contained in:
2023-11-28 15:15:03 +00:00
parent e3bf5855ab
commit 74fec075be
11 changed files with 66 additions and 37 deletions
+1 -12
View File
@@ -1,18 +1,6 @@
import * as mapn from './map_noise.js';
import * as mapg from './map_geiger.js';
import * as utils from "./chart_utilities.js"
import * as dt from './datetime.js'
function getColor(d, mapparams) {
if(sysparams.category === 'noise') {
return mapn.getColor(d, mapparams)
} else if(sysparams.category === 'multigeiger') {
return mapg.getColor(d, mapparams)
}
}
// Show the last date below tha map grafics
export async function showLastDate(ld, mpp) {
let url
@@ -26,3 +14,4 @@ export async function showLastDate(ld, mpp) {
document.querySelector('#actsensors').innerText = `${sensors.actsensors} ${sensors.registered}`
// $('#actsensors').html(`${erg.count} aktive Sensoren (angemeldet ${allsens})`)
}