trails/packages
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
..
db Add Wahoo activity sync with provider-agnostic framework 2026-04-04 11:22:02 +01:00
gpx Sync notes through GPX, Journal, and Planner roundtrip 2026-04-11 03:35:40 +02:00
i18n Add smoothness, track type, cycleway, and bike route color modes 2026-04-11 11:13:44 +02:00
map Extract @trails-cool/map-core package from Planner 2026-04-12 22:28:14 +02:00
map-core Extract @trails-cool/map-core package from Planner 2026-04-12 22:28:14 +02:00
types Fix planner production server + use .ts extensions everywhere 2026-03-25 01:41:33 +01:00
ui Fix planner production server + use .ts extensions everywhere 2026-03-25 01:41:33 +01:00