Add Mapbox static map generation for non-JavaScript users
- Implement MapImageService using Mapbox Static Images API - Add server-side /table route with HTML form submission - Generate static map images with auto-fit positioning based on actual location coordinates - Add progressive enhancement with noscript fallbacks and Basic View button - Update map center coordinates to proper Grand Rapids location - Add numbered pins with color coding (red for regular, orange for persistent reports) - Remove server-side caching to ensure fresh map images - Fix theme toggle icon centering in CSS mixins 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
6cb165a3c3
commit
96dc6bde42
8 changed files with 1015 additions and 18 deletions
|
@ -22,11 +22,13 @@
|
|||
"postinstall": "npm run build-css"
|
||||
},
|
||||
"dependencies": {
|
||||
"canvas": "^3.1.2",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^17.0.1",
|
||||
"express": "^4.18.2",
|
||||
"express-rate-limit": "^7.5.1",
|
||||
"node-cron": "^3.0.3",
|
||||
"sharp": "^0.34.2",
|
||||
"sqlite3": "^5.1.6",
|
||||
"swagger-jsdoc": "^6.2.8",
|
||||
"swagger-ui-express": "^5.0.1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue