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
524 B
JSON
1 line
524 B
JSON
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"route_id":"1012"},"geometry":{"type":"MultiLineString","coordinates":[[[100.45213,14.59349],[100.45067,14.59388],[100.44523,14.59259],[100.44361,14.59786],[100.42336,14.60358],[100.42258,14.60583],[100.3632,14.59983],[100.34884,14.59657],[100.32159,14.59366],[100.31037,14.58884],[100.28767,14.5791],[100.27232,14.59154],[100.26599,14.59822],[100.24743,14.6064],[100.24653,14.60483],[100.24418,14.60472],[100.24317,14.60455],[100.24249,14.60545]]]}}]} |