10 Commits

Author SHA1 Message Date
TheGreyDiamond
467e635145 Merge pull request #3 from TheGreyDiamond/refactor
General code maintanace
2021-10-13 14:27:59 +02:00
TheGreyDiamond
2e1eec4b7a Merge pull request #2 from TheGreyDiamond/dependabot/npm_and_yarn/tar-6.1.11
Bump tar from 6.1.5 to 6.1.11
2021-09-01 08:17:33 +02:00
dependabot[bot]
7134466431 Bump tar from 6.1.5 to 6.1.11
Bumps [tar](https://github.com/npm/node-tar) from 6.1.5 to 6.1.11.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.1.5...v6.1.11)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 23:31:45 +00:00
TheGreyDiamond
808fa94a1a Merge pull request #1 from TheGreyDiamond/dependabot/npm_and_yarn/tar-6.1.5
Bump tar from 6.1.0 to 6.1.5
2021-08-04 22:33:35 +02:00
dependabot[bot]
f2bef7aa43 Bump tar from 6.1.0 to 6.1.5
Bumps [tar](https://github.com/npm/node-tar) from 6.1.0 to 6.1.5.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.1.0...v6.1.5)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-04 03:58:06 +00:00
TheGreyDiamond
3c0b455341 Update map.html 2021-07-11 21:47:32 +02:00
TheGreyDiamond
5a87784ceb Update map.html 2021-07-11 21:44:59 +02:00
TheGreyDiamond
e69e40fec8 Update README.md 2021-07-09 14:42:16 +02:00
TheGreyDiamond
eadf729190 Update README.md 2021-07-09 14:42:04 +02:00
TheGreyDiamond
1377ae15ba Update README.md 2021-07-06 21:10:47 +02:00
2 changed files with 20 additions and 1 deletions

View File

@@ -1,2 +1,20 @@
# Elevatormap Rewritten
The elevator map at thegreydiamond.de/elevatormap has been offline for some time now, as it was very ineffective and didn't accept user contributions. This is an attempted by the original author to rewrite the project in Node.js.
## Host your own
Requirements:
- Node
- MySQL Server (MariaDB)
- Accounts for Fontawesome & hCaptcha
Setup steps:
1. Setup DB access
2. Change config file to your needs
3. Install dependencies with `npm install`
4. Make .js file with `npm run makeJS` (skip if you want to test it)
5. Start it with `npm start` (or use pm2)
It will autogenerate all tables needed. And then startup.
ToDo:
- [ ] Allow user edits
- [ ] Allow moderation

View File

@@ -85,7 +85,8 @@ L.tileLayer(
{
attribution:
'Map data &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',
maxZoom: 3,
maxZoom: 100,
minZoom: 2,
id: "mapbox/streets-v11",
tileSize: 512,
zoomOffset: -1,