V 3.1.0 mikt AKWS
This commit is contained in:
1
.vscode/launch.json
vendored
1
.vscode/launch.json
vendored
@@ -20,6 +20,7 @@
|
|||||||
"<node_internals>/**"
|
"<node_internals>/**"
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
|
"SERVERPORT": "3006",
|
||||||
"MONGOHOST": "217.72.203.152",
|
"MONGOHOST": "217.72.203.152",
|
||||||
"MONGOPORT": "27037",
|
"MONGOPORT": "27037",
|
||||||
"MONGOAUTH": "true",
|
"MONGOAUTH": "true",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "geiger2",
|
"name": "geiger2",
|
||||||
"version": "3.0.1",
|
"version": "3.1.0",
|
||||||
"date": "2026-03-29",
|
"date": "2026-03-29",
|
||||||
"description": "Graphics for multigeiger sensors",
|
"description": "Graphics for multigeiger sensors",
|
||||||
"main": "app.js",
|
"main": "app.js",
|
||||||
|
|||||||
@@ -383,7 +383,7 @@ $(document).ready(function() {
|
|||||||
console.log(`New zoom: ${map.getZoom()}`);
|
console.log(`New zoom: ${map.getZoom()}`);
|
||||||
});
|
});
|
||||||
|
|
||||||
// await buildAKWs();
|
await buildAKWs();
|
||||||
await buildMarkers(bounds);
|
await buildMarkers(bounds);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -138,13 +138,12 @@ router.get('/getaktdata/', async function (req, res) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
/* ===============================================================
|
// ===============================================================
|
||||||
// AKW (Nuclear Power Plant) FUNCTIONS - COMMENTED OUT FOR NOW
|
// AKW (Nuclear Power Plant) FUNCTIONS
|
||||||
// Will be needed later, so not deleting
|
|
||||||
// ===============================================================
|
// ===============================================================
|
||||||
|
|
||||||
// Fetch all akw data out of the dbase
|
// 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)
|
const db = req.app.get('dbase'); // db wird in req übergeben (von app.js)
|
||||||
let collection = db.collection('akws'); // die 'korrelation' verwenden
|
let collection = db.collection('akws'); // die 'korrelation' verwenden
|
||||||
let erg = [];
|
let erg = [];
|
||||||
@@ -215,7 +214,6 @@ router.get('/getakwdata/', async function (req, res) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
*/
|
|
||||||
|
|
||||||
router.get('/getStuttgart/', function (req, res) {
|
router.get('/getStuttgart/', function (req, res) {
|
||||||
fs.readFile('public/Stuttgart.gpx',function(err,data) {
|
fs.readFile('public/Stuttgart.gpx',function(err,data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user