Fist Push

This commit is contained in:
troispoils 2024-05-07 18:01:11 +02:00
parent dd63653413
commit cab9de1e90
118 changed files with 364726 additions and 0 deletions

10
server/modules/poi.js Normal file
View file

@ -0,0 +1,10 @@
const path = require('path');
const fs = require('fs');
function initPoImarker(name) {
let jsonName = path.join(__dirname, '..', 'data', `${name}.json`);
const result = JSON.parse(fs.readFileSync(jsonName));
return result;
}
module.exports = { initPoImarker };