Files
web-at-transit/frontend/public/data/geojson-web/XXX2.geojson
T
phattaranun.a 490e6c7d71 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
2026-10-10 19:00:54 +07:00

1 line
585 B
JSON

{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"route_id":"XXX2"},"geometry":{"type":"MultiLineString","coordinates":[[[100.36831,14.45774],[100.37086,14.45153],[100.36877,14.44936],[100.37061,14.44519],[100.37561,14.4451],[100.37536,14.46087],[100.37762,14.47381],[100.38112,14.47656],[100.39055,14.48474],[100.39456,14.48783],[100.39698,14.48833],[100.40365,14.48858],[100.41725,14.48933],[100.44109,14.49002],[100.44105,14.4924],[100.44149,14.49378],[100.44249,14.49467],[100.44493,14.4947],[100.44612,14.4939],[100.44635,14.4944],[100.44654,14.49472]]]}}]}