Fist Push
This commit is contained in:
parent
dd63653413
commit
cab9de1e90
118 changed files with 364726 additions and 0 deletions
10
server/modules/poi.js
Normal file
10
server/modules/poi.js
Normal 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 };
|
||||
Loading…
Add table
Add a link
Reference in a new issue