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-sawangha-srinuathong"},"geometry":{"type":"MultiLineString","coordinates":[[[100.32601,14.75212],[100.32513,14.75223],[100.32426,14.75235],[100.3234,14.75247],[100.32255,14.7526],[100.3217,14.75273],[100.32086,14.75286],[100.32003,14.753],[100.31921,14.75314],[100.31839,14.75329],[100.31758,14.75344],[100.31678,14.75359],[100.31599,14.75375],[100.31521,14.75391],[100.31443,14.75408],[100.31366,14.75425],[100.3129,14.75442],[100.31215,14.75459],[100.3114,14.75477],[100.31066,14.75495],[100.30993,14.75513],[100.30921,14.75532],[100.3085,14.7555],[100.30779,14.75569],[100.30709,14.75588],[100.3064,14.75608],[100.30571,14.75627],[100.30504,14.75647],[100.30437,14.75667],[100.30371,14.75687],[100.30305,14.75707],[100.30241,14.75727],[100.30177,14.75747],[100.30114,14.75768],[100.30052,14.75788],[100.2999,14.75809],[100.29929,14.7583],[100.29869,14.7585],[100.2981,14.75871],[100.29752,14.75892],[100.29694,14.75913],[100.29637,14.75934],[100.29581,14.75955],[100.29526,14.75976],[100.29471,14.75997],[100.29418,14.76018],[100.29365,14.76039],[100.29312,14.76061],[100.29261,14.76082],[100.2921,14.76103],[100.2916,14.76124],[100.29111,14.76145],[100.29063,14.76167],[100.29015,14.76188],[100.28968,14.76209],[100.28922,14.7623],[100.28877,14.76252],[100.28832,14.76273],[100.28789,14.76294],[100.28746,14.76315],[100.28704,14.76337],[100.28662,14.76358],[100.28621,14.76379],[100.28582,14.764],[100.28543,14.76421],[100.28504,14.76442],[100.28467,14.76463],[100.2843,14.76483],[100.28394,14.76504],[100.28359,14.76525],[100.28324,14.76546],[100.2829,14.76566],[100.28257,14.76587],[100.28225,14.76607],[100.28193,14.76627],[100.28161,14.76648],[100.28131,14.76668],[100.28101,14.76688],[100.28071,14.76708],[100.28042,14.76728],[100.28014,14.76747],[100.27986,14.76767],[100.27958,14.76786],[100.27931,14.76806],[100.27905,14.76825],[100.27879,14.76844],[100.27853,14.76863],[100.27828,14.76882],[100.27803,14.76901],[100.27779,14.76919],[100.27755,14.76938],[100.27731,14.76956],[100.27708,14.76974],[100.27684,14.76992],[100.27662,14.7701],[100.27639,14.77027],[100.27617,14.77045],[100.27594,14.77062],[100.27572,14.77079],[100.27551,14.77096],[100.27529,14.77113],[100.27508,14.77129],[100.27486,14.77146],[100.27465,14.77162],[100.27444,14.77178],[100.27423,14.77193],[100.27402,14.77209],[100.27382,14.77224],[100.27361,14.77239],[100.2734,14.77253],[100.2732,14.77267],[100.27299,14.77281],[100.27278,14.77295],[100.27258,14.77308],[100.27237,14.77321],[100.27216,14.77334],[100.27196,14.77346],[100.27175,14.77358],[100.27154,14.7737],[100.27133,14.77381],[100.27112,14.77392],[100.2709,14.77403],[100.27069,14.77413],[100.27047,14.77423],[100.27026,14.77432],[100.27004,14.77441],[100.26982,14.77449],[100.26959,14.77457],[100.26937,14.77465],[100.26914,14.77472],[100.26891,14.77478],[100.26867,14.77484],[100.26844,14.7749],[100.2682,14.77495],[100.26796,14.775],[100.26771,14.77504],[100.26747,14.77508],[100.26722,14.77512],[100.26697,14.77515],[100.26672,14.77518],[100.26647,14.7752],[100.26621,14.77522],[100.26596,14.77525],[100.26571,14.77526],[100.26545,14.77528],[100.26519,14.77529],[100.26494,14.77531],[100.26468,14.77532],[100.26443,14.77533],[100.26417,14.77534],[100.26392,14.77534],[100.26366,14.77535],[100.26341,14.77536],[100.26316,14.77537],[100.26291,14.77538],[100.26266,14.77538],[100.26242,14.77539],[100.26217,14.7754],[100.26193,14.77542],[100.26169,14.77543],[100.26145,14.77544],[100.26122,14.77546],[100.26099,14.77548],[100.26076,14.7755],[100.26054,14.77552],[100.26031,14.77555],[100.2601,14.77558],[100.25988,14.77561],[100.25967,14.77565],[100.25946,14.77568],[100.25925,14.77572],[100.25905,14.77577],[100.25885,14.77581],[100.25865,14.77586],[100.25845,14.7759],[100.25826,14.77596],[100.25806,14.77601],[100.25787,14.77606],[100.25768,14.77612],[100.25749,14.77618],[100.2573,14.77624],[100.25711,14.7763],[100.25692,14.77636],[100.25673,14.77643],[100.25655,14.7765],[100.25636,14.77657],[100.25617,14.77664],[100.25599,14.77671],[100.2558,14.77678],[100.25561,14.77685],[100.25542,14.77693],[100.25523,14.77701],[100.25504,14.77708],[100.25485,14.77716],[100.25465,14.77724],[100.25446,14.77732],[100.25426,14.7774],[100.25406,14.77748],[100.25386,14.77757],[100.25366,14.77765],[100.25346,14.77773],[100.25325,14.77782],[100.25304,14.77791],[100.25284,14.77799],[100.25263,14.77808],[100.25242,14.77817],[100.2522,14.77826],[100.25199,14.77835],[100.25178,14.77844],[100.25156,14.77853],[100.25135,14.77862],[100.25113,14.77871],[100.25092,14.77881],[100.2507,14.7789],[100.25049,14.779],[100.25027,14.7791],[100.25005,14.7792],[100.24984,14.77929],[100.24962,14.77939],[100.24941,14.7795],[100.24919,14.7796],[100.24898,14.7797],[100.24877,14.7798],[100.24855,14.77991],[100.24834,14.78002],[100.24813,14.78012],[100.24792,14.78023],[100.24771,14.78034],[100.24751,14.78045],[100.2473,14.78056],[100.2471,14.78067],[100.2469,14.78079],[100.2467,14.78Line truncated
|
||||
Reference in new issue
Block a user