add cityCoords
params for city chnaged add 'center city' in settings
This commit is contained in:
@@ -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})`)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user