Refactor map renderer and server API

- Updated index.html to enhance UI with new elements for hidden shapes and catalog CSVs.
- Changed download button to a button element for better accessibility.
- Modified server.js to improve API endpoints:
  - Renamed overlays endpoint to scene for clarity.
  - Updated tile rendering endpoints to use atlas instead of tile coordinates.
  - Added new endpoint for downloading shape catalog CSV files.
  - Removed unused options in build creation.
This commit is contained in:
Marco 2026-03-27 16:28:45 +01:00
commit f93cfc31c8
17 changed files with 2228 additions and 1199 deletions

View file

@ -6,7 +6,8 @@
"description": "Server-side tiled Crusader map renderer for browser viewing.",
"scripts": {
"start": "node src/server.js",
"dev": "node --watch src/server.js"
"dev": "node --watch src/server.js",
"build-cache": "node src/build-cache.js"
},
"engines": {
"node": ">=20"