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":"dream-ayutthaya-redline"},"geometry":{"type":"LineString","coordinates":[[100.45154,14.59393],[100.45284,14.59075],[100.45381,14.58853],[100.45445,14.58704],[100.45476,14.58605],[100.45478,14.58536],[100.45458,14.58485],[100.45425,14.58443],[100.45389,14.58403],[100.45359,14.58357],[100.45335,14.58301],[100.45318,14.58235],[100.45308,14.58157],[100.45304,14.58066],[100.45307,14.57966],[100.45314,14.5786],[100.45325,14.57754],[100.45341,14.57651],[100.45357,14.57549],[100.45373,14.57448],[100.45385,14.57344],[100.4539,14.57234],[100.45386,14.57121],[100.4537,14.57006],[100.4534,14.56892],[100.45293,14.56781],[100.45234,14.5667],[100.4517,14.56554],[100.45109,14.56427],[100.45058,14.56286],[100.45019,14.56133],[100.4499,14.55977],[100.4497,14.55825],[100.44957,14.55685],[100.4495,14.55555],[100.44949,14.55426],[100.44952,14.55289],[100.4496,14.55135],[100.44971,14.54968],[100.44988,14.54799],[100.45012,14.54638],[100.45043,14.54498],[100.45082,14.54379],[100.45127,14.54276],[100.45176,14.54181],[100.45228,14.54089],[100.45281,14.53996],[100.45338,14.53898],[100.45399,14.53795],[100.45464,14.53683],[100.45537,14.53563],[100.4562,14.53436],[100.45718,14.53303],[100.45836,14.53165],[100.45968,14.53025],[100.46106,14.52889],[100.46235,14.52761],[100.46345,14.52647],[100.4643,14.52547],[100.46492,14.52452],[100.46537,14.52353],[100.46566,14.52243],[100.46585,14.52114],[100.46593,14.51969],[100.46592,14.51808],[100.46583,14.51631],[100.46567,14.51442],[100.46543,14.5125],[100.4651,14.51063],[100.46468,14.50889],[100.46416,14.50735],[100.46353,14.50594],[100.46281,14.50463],[100.46198,14.50335],[100.46106,14.5021],[100.46012,14.50094],[100.4592,14.49991],[100.45838,14.49911],[100.45767,14.49856],[100.45698,14.49823],[100.4562,14.49808],[100.45522,14.49807],[100.45398,14.49815],[100.45256,14.49829],[100.45108,14.49844],[100.44963,14.49856],[100.44833,14.49862],[100.44723,14.4986],[100.44639,14.49847],[100.44587,14.49822],[100.44572,14.49784],[100.44593,14.49741],[100.44648,14.49699],[100.44738,14.49668],[100.44857,14.49652],[100.44993,14.49648],[100.45129,14.49651],[100.45249,14.49653],[100.45339,14.4965],[100.45404,14.49641],[100.45455,14.49625],[100.455,14.49603],[100.45547,14.49573],[100.4559,14.49536],[100.45616,14.4949],[100.45614,14.49434],[100.45574,14.49367],[100.45507,14.49289],[100.45429,14.49199],[100.4536,14.49098],[100.45314,14.48987],[100.45295,14.48871],[100.45296,14.48757],[100.45313,14.48652],[100.45342,14.48562],[100.4538,14.48481],[100.45429,14.48396],[100.45491,14.48295],[100.45566,14.48165],[100.45656,14.48007],[100.4576,14.47827],[100.4588,14.47632],[100.46017,14.47427],[100.46165,14.47214],[100.46316,14.46989],[100.4646,14.46751],[100.46591,14.46495],[100.46709,14.46227],[100.46819,14.45952],[100.46929,14.4568],[100.47045,14.45417],[100.47167,14.45167],[100.47292,14.44929],[100.47413,14.44702],[100.47526,14.44485],[100.47633,14.44281],[100.4774,14.44093],[100.47853,14.43927],[100.47978,14.43786],[100.48115,14.43669],[100.48256,14.43568],[100.48391,14.43476],[100.48513,14.43384],[100.48627,14.43285],[100.48752,14.43169],[100.48912,14.4303],[100.49127,14.42859],[100.49396,14.42659],[100.49688,14.42444],[100.49972,14.42233],[100.50213,14.42042],[100.50399,14.41877],[100.50543,14.4173],[100.50663,14.41592],[100.50775,14.41451],[100.5089,14.41306],[100.51006,14.41165],[100.51122,14.41039],[100.51235,14.40938],[100.51345,14.40866],[100.51458,14.40816],[100.51578,14.40778],[100.51712,14.40743],[100.51859,14.40705],[100.52013,14.40662],[100.52164,14.40613],[100.52304,14.40557],[100.52426,14.40494],[100.52532,14.40425],[100.52623,14.40353],[100.527,14.40278],[100.52766,14.40203],[100.52826,14.40126],[100.52885,14.40049],[100.52947,14.39971],[100.53017,14.39891],[100.53092,14.39805],[100.53168,14.39706],[100.53244,14.39591],[100.53316,14.39455],[100.53382,14.39305],[100.53443,14.3915],[100.53497,14.38998],[100.53544,14.38856],[100.53589,14.38721],[100.53636,14.38589],[100.53691,14.38455],[100.53759,14.38316],[100.53841,14.38176],[100.53938,14.3804],[100.54049,14.37914],[100.54175,14.37803],[100.54311,14.37704],[100.5445,14.37613],[100.54588,14.37523],[100.54717,14.37432],[100.54836,14.3734],[100.54942,14.37248],[100.55035,14.3716],[100.55114,14.37076],[100.55178,14.36994],[100.55228,14.36909],[100.55267,14.36816],[100.55296,14.36711],[100.55316,14.36597],[100.55329,14.36479],[100.55337,14.36364],[100.55341,14.36258],[100.55346,14.36165],[100.55355,14.36088],[100.55371,14.36029],[100.55397,14.35993],[100.55433,14.35976],[100.55476,14.35975],[100.55522,14.35984],[100.55569,14.35999],[100.55616,14.36017],[100.55663,14.36034],[100.55712,14.36049],[100.55764,14.36059],[100.55819,14.36062],[100.55876,14.36061],[100.55934,14.36055],[100.55992,14.36045],[100.5605,14.36034],[100.56106,14.36023],[100.56159,14.36012],[100.56207,14.36005],[100.56252,14.36001],[100.56294,14.36001],[100.56338,14.36005],[100.56384,14.36013],[100.56433,Line truncated
|
||||
Reference in new issue
Block a user