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-banchang"},"geometry":{"type":"LineString","coordinates":[[100.45183,14.5947],[100.45203,14.59406],[100.45236,14.59319],[100.45279,14.59214],[100.45328,14.59101],[100.45379,14.58985],[100.45428,14.58874],[100.45472,14.58777],[100.45506,14.58698],[100.45531,14.58639],[100.45547,14.58598],[100.45555,14.5857],[100.45557,14.58552],[100.45552,14.58541],[100.45544,14.58535],[100.45531,14.58528],[100.45517,14.58521],[100.455,14.58511],[100.45482,14.58501],[100.45463,14.58489],[100.45444,14.58476],[100.45426,14.58463],[100.45408,14.58449],[100.45393,14.58434],[100.45378,14.5842],[100.45366,14.58404],[100.45355,14.58388],[100.45345,14.5837],[100.45337,14.58352],[100.45331,14.58333],[100.45326,14.58312],[100.45322,14.58289],[100.45319,14.58265],[100.45318,14.58238],[100.45317,14.58208],[100.45317,14.58175],[100.45318,14.58138],[100.45319,14.58096],[100.4532,14.58051],[100.45321,14.58],[100.45323,14.57946],[100.45326,14.57887],[100.4533,14.57823],[100.45334,14.57755],[100.4534,14.57683],[100.45346,14.57607],[100.45354,14.57527],[100.45361,14.57446],[100.45367,14.57366],[100.45372,14.57287],[100.45375,14.57211],[100.45375,14.5714],[100.45372,14.57075],[100.45365,14.57017],[100.45356,14.56965],[100.45344,14.56919],[100.4533,14.56877],[100.45315,14.56839],[100.45298,14.56805],[100.45281,14.56774],[100.45263,14.56745],[100.45244,14.56717],[100.45224,14.56687],[100.45202,14.56654],[100.45179,14.56616],[100.45153,14.56572],[100.45125,14.5652],[100.45094,14.56459],[100.45061,14.56388],[100.45029,14.56308],[100.44998,14.5622],[100.4497,14.56124],[100.44947,14.56021],[100.4493,14.55911],[100.44921,14.55796],[100.4492,14.55675],[100.44927,14.55549],[100.44941,14.55419],[100.4496,14.55284],[100.44985,14.55145],[100.45015,14.55002],[100.45048,14.54856],[100.45084,14.54707],[100.45126,14.54556],[100.45173,14.54404],[100.45229,14.54252],[100.45293,14.541],[100.45368,14.53949],[100.45455,14.538],[100.45555,14.53653],[100.45665,14.5351],[100.45781,14.53371],[100.45898,14.53237],[100.46013,14.53107],[100.46122,14.52982],[100.46219,14.52863],[100.46302,14.52751],[100.46368,14.52644],[100.4642,14.5254],[100.4646,14.52437],[100.46489,14.52332],[100.4651,14.52224],[100.46524,14.5211],[100.46534,14.51987],[100.4654,14.51856],[100.46543,14.51717],[100.46542,14.51575],[100.46536,14.51431],[100.46525,14.5129],[100.46508,14.51154],[100.46485,14.51025],[100.46454,14.50907],[100.46417,14.50799],[100.46374,14.50699],[100.46325,14.50606],[100.46272,14.50517],[100.46215,14.50431],[100.46155,14.50346],[100.46093,14.50259],[100.46028,14.50173],[100.4596,14.50088],[100.45887,14.50008],[100.4581,14.49937],[100.45727,14.49876],[100.45637,14.49829],[100.45539,14.49799],[100.45435,14.49787],[100.45325,14.4979],[100.45215,14.49804],[100.45107,14.49825],[100.45004,14.4985],[100.44911,14.49875],[100.44831,14.49896],[100.44765,14.4991],[100.44716,14.49915],[100.44679,14.49913],[100.44653,14.49905],[100.44635,14.49891],[100.44624,14.49872],[100.44618,14.4985],[100.44614,14.49824],[100.44612,14.49797],[100.4461,14.49769],[100.44612,14.49742],[100.44615,14.49718],[100.44621,14.49698],[100.44631,14.49683],[100.44644,14.49675],[100.44662,14.49675],[100.44685,14.4968],[100.44713,14.4969],[100.44747,14.49701],[100.44788,14.49711],[100.44838,14.49719],[100.44895,14.49723],[100.44961,14.49719],[100.45036,14.49709],[100.45117,14.49692],[100.45204,14.49669],[100.45293,14.4964],[100.45385,14.49607],[100.45478,14.49569],[100.45569,14.49527],[100.45661,14.49482],[100.45757,14.49435],[100.45864,14.49388],[100.45987,14.49341],[100.4613,14.49295],[100.46299,14.49253],[100.465,14.49214],[100.46736,14.49179],[100.47006,14.49147],[100.47308,14.49112],[100.4764,14.49074],[100.47999,14.49027],[100.48383,14.48969],[100.4879,14.48897],[100.49218,14.48808],[100.49657,14.48705],[100.50099,14.48593],[100.50533,14.4848],[100.50948,14.48371],[100.51333,14.48273],[100.51679,14.48192],[100.51974,14.48134],[100.52215,14.48102],[100.52409,14.48092],[100.52563,14.48099],[100.52685,14.4812],[100.52783,14.4815],[100.52866,14.48185],[100.52939,14.48221],[100.53011,14.48254],[100.53083,14.48283],[100.53154,14.48308],[100.53226,14.48329],[100.53299,14.48345],[100.53372,14.48356],[100.53445,14.48362],[100.53521,14.48362],[100.53596,14.48357],[100.53672,14.48347],[100.53747,14.48333],[100.53819,14.48316],[100.53889,14.48296],[100.53956,14.48273],[100.54017,14.48249],[100.54074,14.48223],[100.54128,14.48194],[100.54178,14.48161],[100.54227,14.48121],[100.54276,14.48074],[100.54325,14.48017],[100.54376,14.4795],[100.54429,14.47871],[100.54485,14.47782],[100.54541,14.47684],[100.54599,14.47581],[100.54656,14.47475],[100.54713,14.47367],[100.54767,14.47261],[100.5482,14.47157],[100.54871,14.47059],[100.54921,14.46967],[100.54974,14.46883],[100.55029,14.46808],[100.5509,14.46743],[100.55157,14.46691],[100.55232,14.46651],[100.55317,14.46625],[100.5541,14.46609],[100.5551,14.466],[100.55616,14.46595],[100.55728,14.4Line truncated
|
||||
Reference in new issue
Block a user