feat(ui): sync data from mock + port legend/next-trip/route map

Data:
- sync DB (routes/stations/route_stops/route_provinces/schedules) from
  web-at-transit-mock/resource/data: route 999 -> bangkok group, 1011 name,
  15 stations w/ coordinates, 33 schedules; drop stale stations
- add geojson-web route polylines (frontend/public/data) + lib/geojson.ts;
  route detail now draws the real route path

UI:
- home: legend (คำอธิบายสีการ์ด) + next-trip chip (เที่ยวถัดไป HH:MM /
  ดูตาราง / ยังไม่มีตาราง) computed from schedules
- route detail: drop the debug 'เมตาดาตา' JSON dump + empty ภาพประกอบ
- globals.css: legend styles
This commit is contained in:
phattaranun.a committed 2026-10-10 19:00:54 +07:00
1 parent 37711a0a8a
commit 490e6c7d71
33 files changed
+158 -49

No files matched your search

@@ -0,0 +1 @@
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"route_id":"XXX1"},"geometry":{"type":"MultiLineString","coordinates":[[[100.45201,14.59356],[100.45089,14.59379],[100.44481,14.59269],[100.44391,14.59746],[100.44321,14.59802],[100.42451,14.60352],[100.4233,14.60391],[100.42241,14.60579],[100.36507,14.59993],[100.34825,14.59645]]]}}]}