trails/packages/map/src
Ullrich Schäfer 60b94b5789
Extract @trails-cool/map-core package from Planner
New renderer-agnostic package with zero dependencies:
- Tile configs (base layers, overlay layers)
- Color palettes (surface, highway, smoothness, tracktype, cycleway,
  bikeroute, elevation, maxspeed) — 8 color maps + 3 color functions
- POI category definitions (9 categories with Overpass queries, icons,
  colors, profile mappings)
- Z-index layering constants
- Snap distance constant

Updated 15 consuming files to import from @trails-cool/map-core.
Deleted poi-categories.ts and z-index.ts from the Planner (fully moved).
packages/map re-exports tile configs from map-core for backwards compat.

All 117 tests pass, no user-facing changes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 22:28:14 +02:00
..
index.ts Extract @trails-cool/map-core package from Planner 2026-04-12 22:28:14 +02:00
layers.ts Extract @trails-cool/map-core package from Planner 2026-04-12 22:28:14 +02:00
MapView.tsx Implement shared packages (tasks 2.1-2.6) 2026-03-22 13:09:35 +01:00
RouteLayer.tsx Implement shared packages (tasks 2.1-2.6) 2026-03-22 13:09:35 +01:00