V 3.1.0 mikt AKWS

This commit is contained in:
rxf
2026-03-29 09:39:40 +02:00
parent cb3bd07627
commit 7b13fc7bff
4 changed files with 6 additions and 7 deletions

1
.vscode/launch.json vendored
View File

@@ -20,6 +20,7 @@
"<node_internals>/**"
],
"env": {
"SERVERPORT": "3006",
"MONGOHOST": "217.72.203.152",
"MONGOPORT": "27037",
"MONGOAUTH": "true",

View File

@@ -1,6 +1,6 @@
{
"name": "geiger2",
"version": "3.0.1",
"version": "3.1.0",
"date": "2026-03-29",
"description": "Graphics for multigeiger sensors",
"main": "app.js",

View File

@@ -383,7 +383,7 @@ $(document).ready(function() {
console.log(`New zoom: ${map.getZoom()}`);
});
// await buildAKWs();
await buildAKWs();
await buildMarkers(bounds);

View File

@@ -138,13 +138,12 @@ router.get('/getaktdata/', async function (req, res) {
}
});
/* ===============================================================
// AKW (Nuclear Power Plant) FUNCTIONS - COMMENTED OUT FOR NOW
// Will be needed later, so not deleting
// ===============================================================
// AKW (Nuclear Power Plant) FUNCTIONS
// ===============================================================
// Fetch all akw data out of the dbase
router.get('/getakwdata/', async function (req, res) {
router.get('/getakwdata', async function (req, res) {
const db = req.app.get('dbase'); // db wird in req übergeben (von app.js)
let collection = db.collection('akws'); // die 'korrelation' verwenden
let erg = [];
@@ -215,7 +214,6 @@ router.get('/getakwdata/', async function (req, res) {
return;
}
});
*/
router.get('/getStuttgart/', function (req, res) {
fs.readFile('public/Stuttgart.gpx',function(err,data) {