fix: contour overlay with pmtiles fork, absolute URL, extended zoom range

- Switch to @acalcutt/maplibre-contour-pmtiles for PMTiles support
- Use absolute URL for DemSource so Web Worker can resolve path
- Extend contour thresholds from z3-z15 for full zoom coverage
- Improve line styling with zoom-dependent width
- Improve label styling with bold font and better halo

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Matt 2026-05-07 03:58:46 +00:00
commit 400c485833
3 changed files with 56 additions and 31 deletions

View file

@ -10,11 +10,11 @@
"preview": "vite preview"
},
"dependencies": {
"@acalcutt/maplibre-contour-pmtiles": "^0.1.2",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"lucide-react": "^1.8.0",
"maplibre-contour": "^0.1.0",
"maplibre-gl": "^5.23.0",
"opening_hours": "^3.12.0",
"pmtiles": "^4.4.1",