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
1 line
358 B
JSON
1 line
358 B
JSON
{"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]]]}}]} |