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
This commit is contained in:
1 parent
37711a0a8a
commit
490e6c7d71
33 files changed
+158
-49
No files matched your search
@@ -0,0 +1 @@
|
||||
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"route_id":"2194"},"geometry":{"type":"MultiLineString","coordinates":[[[100.40766,14.36981],[100.40873,14.37087],[100.41053,14.37139],[100.41148,14.37089],[100.41222,14.37031],[100.4124,14.36975],[100.4126,14.3689],[100.4127,14.36874],[100.41363,14.36894],[100.41449,14.36862],[100.41543,14.36828],[100.41638,14.36808],[100.41678,14.36758],[100.41704,14.36716],[100.41774,14.36686],[100.41822,14.36651],[100.41851,14.36631],[100.41891,14.36627],[100.41939,14.36627],[100.42011,14.36643],[100.42082,14.36665],[100.4213,14.36676],[100.42168,14.36698],[100.42158,14.36772],[100.42152,14.36806],[100.4218,14.36862],[100.42216,14.36913],[100.42228,14.36975],[100.42186,14.36993],[100.42162,14.37039],[100.422,14.37143],[100.42236,14.37196],[100.42274,14.37224],[100.42359,14.37228],[100.42421,14.37268],[100.42467,14.3732],[100.42517,14.37409],[100.42545,14.37489],[100.42596,14.37555],[100.42646,14.37609],[100.42752,14.3767],[100.4278,14.37686],[100.42823,14.37704],[100.42873,14.3777],[100.42901,14.37802],[100.43011,14.37818],[100.4313,14.37889],[100.43208,14.37963],[100.4325,14.38033],[100.43293,14.38103],[100.43327,14.3817],[100.43375,14.38228],[100.43427,14.38296],[100.43477,14.38377],[100.43517,14.38461],[100.43558,14.38515],[100.43616,14.38618],[100.43654,14.38674],[100.4368,14.38714],[100.43734,14.38798],[100.43781,14.38907],[100.43785,14.39061],[100.43791,14.39134],[100.43837,14.39224],[100.43877,14.393],[100.43905,14.39425],[100.43927,14.39523],[100.43939,14.39584],[100.43945,14.39676],[100.43935,14.3975],[100.43903,14.39827],[100.43843,14.39919],[100.43766,14.39941],[100.43726,14.40023],[100.43688,14.4011],[100.43672,14.40164],[100.43668,14.4023],[100.43638,14.40276],[100.43624,14.40288],[100.43574,14.40345],[100.43523,14.40393],[100.43515,14.40503],[100.43525,14.40544],[100.43519,14.40642],[100.43473,14.40692],[100.43473,14.40692],[100.43465,14.40752],[100.43482,14.40836],[100.43508,14.40864],[100.43548,14.40939],[100.43586,14.40989],[100.43617,14.41003],[100.43633,14.41069],[100.43663,14.41073],[100.43709,14.4112],[100.43751,14.41152],[100.43815,14.41182],[100.43856,14.41188],[100.4394,14.41188],[100.43972,14.41196],[100.44048,14.41202],[100.44107,14.41222],[100.44151,14.41246],[100.44181,14.4126],[100.44199,14.41284],[100.44237,14.41326],[100.44255,14.41351],[100.44241,14.41405],[100.44201,14.41405],[100.44217,14.41473],[100.44245,14.41573],[100.44273,14.41658],[100.44305,14.41714],[100.44342,14.41742],[100.44386,14.41786],[100.44446,14.41895],[100.44518,14.41995],[100.44534,14.42043],[100.44526,14.42116],[100.4447,14.42212],[100.4443,14.4224],[100.4441,14.42296],[100.4441,14.42353],[100.44438,14.42353],[100.44563,14.42529],[100.44571,14.42678],[100.44567,14.42855],[100.4445,14.42915],[100.44318,14.42883],[100.44233,14.42883],[100.44121,14.42883],[100.44064,14.42903],[100.44032,14.42951],[100.44052,14.4306],[100.44117,14.4312],[100.44165,14.43176],[100.44209,14.43276],[100.44249,14.43333],[100.44326,14.43413],[100.4435,14.43497],[100.44358,14.43602],[100.4437,14.43734],[100.44362,14.43795],[100.4435,14.43859],[100.4437,14.43935],[100.44414,14.44008],[100.44466,14.44052],[100.44502,14.44084],[100.44542,14.4412],[100.44583,14.44176],[100.44591,14.442],[100.44591,14.44257],[100.44631,14.44353],[100.44659,14.44445],[100.44715,14.44534],[100.44787,14.44514],[100.44808,14.44473],[100.4486,14.44461],[100.44952,14.44481],[100.45097,14.44453],[100.45201,14.44441],[100.45282,14.44441],[100.45458,14.44445],[100.45514,14.44433],[100.45659,14.44409],[100.45784,14.44393],[100.459,14.44341],[100.46021,14.44285],[100.46037,14.44281],[100.46105,14.44152],[100.46145,14.44032],[100.46185,14.43931],[100.46233,14.43839],[100.46258,14.43787],[100.46278,14.43702],[100.46294,14.43634],[100.46314,14.4357],[100.4635,14.43449],[100.4635,14.43353],[100.46374,14.43317],[100.46402,14.43272],[100.46426,14.43204],[100.46491,14.43088],[100.46511,14.43003],[100.46567,14.42887],[100.46599,14.42831],[100.46683,14.42734],[100.46752,14.42686],[100.46836,14.42638],[100.46928,14.42586],[100.46968,14.42562],[100.47049,14.42537],[100.47181,14.42529],[100.47242,14.42541],[100.47326,14.42586],[100.47402,14.42602],[100.47483,14.42634],[100.47575,14.42634],[100.47663,14.42626],[100.47764,14.42598],[100.47904,14.42586],[100.48009,14.42586],[100.48085,14.42566],[100.48169,14.42562],[100.48238,14.42541],[100.47924,14.42272],[100.47776,14.4212],[100.47603,14.41915],[100.47438,14.41778],[100.47358,14.41706],[100.47274,14.41585],[100.4723,14.41537],[100.47157,14.41445],[100.47097,14.41365],[100.47065,14.41316],[100.46973,14.41204],[100.4694,14.41148],[100.4688,14.41019],[100.46876,14.40963],[100.46876,14.40899],[100.46876,14.40834],[100.46868,14.40778],[100.46876,14.40734],[100.46912,14.40577],[100.46968,14.40348],[100.47053,14.40208],[100.47093,14.4014],[100.47185,14.40063],[100.4733,14.39814],[100.47459,14.39601],[100.47507,14.39525],[100.47595,14.39429],[100.47659,14.39328],[100.47728,14Line truncated
|
||||
Reference in new issue
Block a user