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
2.1 KiB
JSON
1 line
2.1 KiB
JSON
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"route_id":"324"},"geometry":{"type":"MultiLineString","coordinates":[[[100.40278,14.78146],[100.40157,14.77782],[100.39886,14.77286],[100.39586,14.76769],[100.39602,14.76531],[100.39702,14.76335],[100.39915,14.7623],[100.40383,14.76151],[100.4052,14.75997],[100.40704,14.75708],[100.41277,14.75445],[100.41342,14.75362],[100.41582,14.75426],[100.41761,14.75443],[100.41938,14.75358],[100.42025,14.75367],[100.42117,14.76139],[100.42234,14.76547],[100.42346,14.76643],[100.42473,14.76635],[100.42665,14.76654],[100.42792,14.7665],[100.43024,14.76543],[100.43059,14.76431],[100.43028,14.76291],[100.43062,14.76195],[100.43147,14.76078],[100.43326,14.75955],[100.43448,14.75976],[100.43556,14.75651],[100.43654,14.75498],[100.43773,14.75329],[100.43959,14.75149],[100.44037,14.75014],[100.44098,14.74878],[100.44108,14.7477],[100.44064,14.74648],[100.44,14.74509],[100.43549,14.73607],[100.43468,14.73499],[100.43244,14.73282],[100.43082,14.73085],[100.43027,14.7295],[100.43027,14.72719],[100.43,14.72557],[100.43054,14.72252],[100.43237,14.71865],[100.43387,14.71615],[100.43617,14.71418],[100.43773,14.7133],[100.44417,14.70449],[100.44471,14.70245],[100.44573,14.6992],[100.44776,14.68842],[100.44864,14.6853],[100.44979,14.6832],[100.45284,14.68042],[100.45671,14.67731],[100.45752,14.67561],[100.46091,14.66484],[100.46111,14.66334],[100.4605,14.66178],[100.45996,14.66056],[100.45854,14.6584],[100.45467,14.65426],[100.45379,14.65216],[100.454,14.64992],[100.45474,14.6483],[100.45813,14.64138],[100.45839,14.64008],[100.45817,14.63462],[100.45823,14.63181],[100.45755,14.63008],[100.45661,14.62825],[100.45498,14.6271],[100.45257,14.62395],[100.4521,14.6229],[100.4519,14.621],[100.45271,14.619],[100.45457,14.61469],[100.45545,14.61286],[100.45654,14.61141],[100.45796,14.60988],[100.45874,14.60859],[100.45871,14.60744],[100.45823,14.60314],[100.45776,14.6011],[100.45793,14.59921],[100.45739,14.59761],[100.45654,14.59643],[100.45488,14.59565],[100.45325,14.59481],[100.45264,14.59434],[100.45237,14.59405],[100.45184,14.59447],[100.45167,14.59483]]]}}]} |