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
1.3 KiB
JSON
1 line
1.3 KiB
JSON
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"route_id":"952"},"geometry":{"type":"MultiLineString","coordinates":[[[100.35413,14.59636],[100.35402,14.59677],[100.35111,14.596],[100.3505,14.59608],[100.34874,14.59598],[100.32492,14.59303],[100.32407,14.59296],[100.3234,14.59277],[100.32257,14.59255],[100.27396,14.57216],[100.27333,14.5719],[100.27273,14.57172],[100.27226,14.57159],[100.27146,14.5715],[100.27052,14.57146],[100.24239,14.56975],[100.24146,14.56961],[100.24031,14.56946],[100.23913,14.569],[100.16546,14.53693],[100.14986,14.52932],[100.14747,14.52839],[100.13271,14.52809],[100.13333,14.4442],[100.1508,14.42409],[100.15198,14.42118],[100.15299,14.41595],[100.15815,14.40475],[100.16439,14.40225],[100.178,14.38564],[100.19177,14.34217],[100.21802,14.32491],[100.29154,14.20385],[100.29382,14.2006],[100.29437,14.19824],[100.29442,14.19407],[100.29097,14.11771],[100.29133,14.11535],[100.29195,14.11339],[100.41694,13.94372],[100.41841,13.94168],[100.41955,13.93906],[100.41837,13.93482],[100.40891,13.90452],[100.40886,13.90371],[100.40888,13.90276],[100.41164,13.87333],[100.41411,13.83537],[100.41311,13.82152],[100.4094,13.78294],[100.44328,13.78007],[100.44729,13.78119],[100.45588,13.78395],[100.46756,13.78733],[100.469,13.78719],[100.48195,13.77368],[100.48164,13.77327],[100.46888,13.78686],[100.46817,13.78646]]]}}]} |