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-chaiyo-angthong-pamok"},"geometry":{"type":"MultiLineString","coordinates":[[[100.46716,14.66463],[100.46778,14.66489],[100.46826,14.66503],[100.46861,14.66512],[100.46888,14.66512],[100.46918,14.66491],[100.46955,14.66446],[100.46993,14.6639],[100.47026,14.66334],[100.47055,14.66278],[100.47084,14.66217],[100.47112,14.6615],[100.47136,14.66081],[100.47152,14.66012],[100.47164,14.65945],[100.47175,14.6588],[100.4718,14.65817],[100.47174,14.65754],[100.47151,14.6569],[100.4711,14.65619],[100.47053,14.65541],[100.46993,14.6546],[100.46942,14.65381],[100.46899,14.65305],[100.46852,14.6523],[100.46797,14.65155],[100.46739,14.6508],[100.46686,14.65006],[100.46639,14.64934],[100.46598,14.64865],[100.46563,14.64802],[100.46531,14.64748],[100.46504,14.647],[100.46483,14.64651],[100.4647,14.64591],[100.46464,14.64527],[100.46465,14.64465],[100.46474,14.64409],[100.4649,14.64351],[100.46514,14.64286],[100.4654,14.64213],[100.46561,14.64134],[100.4658,14.64051],[100.46601,14.63966],[100.46626,14.63882],[100.46645,14.638],[100.46654,14.6372],[100.46654,14.63641],[100.46648,14.63561],[100.46639,14.63482],[100.46631,14.63407],[100.46623,14.63338],[100.46606,14.6327],[100.46571,14.632],[100.46523,14.63124],[100.46469,14.63039],[100.46414,14.62943],[100.46361,14.6284],[100.46313,14.62735],[100.46271,14.62634],[100.46237,14.62544],[100.46209,14.62461],[100.46185,14.62378],[100.46165,14.62287],[100.46156,14.62184],[100.4616,14.62066],[100.4617,14.61949],[100.46177,14.6185],[100.46184,14.61769],[100.462,14.61696],[100.46229,14.61626],[100.46265,14.61558],[100.46302,14.61493],[100.46333,14.61433],[100.46352,14.61382],[100.46366,14.6133],[100.46393,14.61258],[100.46442,14.61159],[100.46502,14.61047],[100.46563,14.60942],[100.46616,14.6085],[100.46653,14.6077],[100.46674,14.60703],[100.46692,14.60643],[100.46712,14.60589],[100.4673,14.60536],[100.46738,14.60482],[100.46735,14.60431],[100.46722,14.60385],[100.46698,14.60344],[100.46666,14.60297],[100.46624,14.60234],[100.46581,14.60163],[100.4654,14.60092],[100.46509,14.60024],[100.46491,14.59961],[100.46488,14.599],[100.46497,14.5984],[100.46517,14.5978],[100.46547,14.59722],[100.46587,14.59673],[100.46637,14.59633],[100.46694,14.59594],[100.46758,14.59553],[100.46823,14.59511],[100.46884,14.5947],[100.46937,14.59428],[100.4698,14.59383],[100.47011,14.59334],[100.47023,14.59284],[100.47015,14.59235],[100.46993,14.59183],[100.46965,14.59127],[100.46938,14.59069],[100.46919,14.5901],[100.46909,14.58953],[100.46892,14.58898],[100.46857,14.58843],[100.46804,14.58784],[100.46736,14.58719],[100.46658,14.58654],[100.46574,14.58601],[100.46488,14.58571],[100.464,14.58557],[100.4631,14.58553],[100.46217,14.58556],[100.46124,14.58563],[100.46033,14.58571],[100.45951,14.58579],[100.45879,14.58582],[100.45814,14.58576],[100.45749,14.58557],[100.45689,14.58527],[100.45641,14.58496],[100.45608,14.58475],[100.45581,14.58475],[100.45553,14.58506],[100.45524,14.58559],[100.45493,14.58621],[100.45463,14.58687],[100.45436,14.58753],[100.45413,14.58819],[100.45389,14.58885],[100.4536,14.58951],[100.4533,14.59015],[100.45302,14.59075],[100.45277,14.5913],[100.45253,14.59185],[100.45227,14.5924],[100.45204,14.59292],[100.45187,14.59338],[100.45176,14.59378],[100.45169,14.59417],[100.45166,14.59453],[100.45168,14.59483],[100.45175,14.59503],[100.45186,14.59514],[100.45196,14.5952],[100.45203,14.59515],[100.45203,14.59496],[100.45192,14.59462],[100.4517,14.59428],[100.45137,14.59403],[100.45099,14.59389],[100.45064,14.5938],[100.45032,14.59376],[100.44995,14.59371],[100.44953,14.59366],[100.44908,14.5936],[100.44867,14.59352],[100.44832,14.59343],[100.44801,14.59331],[100.44775,14.59314],[100.44749,14.59291],[100.44721,14.59259],[100.44692,14.59212],[100.44661,14.59147],[100.44626,14.59073],[100.4458,14.59003],[100.44526,14.58943],[100.44473,14.58888],[100.4443,14.58835],[100.44398,14.58783],[100.44374,14.58733],[100.44359,14.58684],[100.44356,14.58633],[100.44365,14.5858],[100.44382,14.58523],[100.44404,14.58458],[100.44425,14.58385],[100.4444,14.58305],[100.44449,14.58225],[100.44456,14.58154],[100.44463,14.58099],[100.44474,14.58045],[100.44489,14.5798],[100.44508,14.5791],[100.44526,14.57851],[100.44545,14.57806],[100.4457,14.57768],[100.44602,14.57731],[100.44641,14.57696],[100.44682,14.57667],[100.4472,14.5764],[100.44747,14.57611],[100.44762,14.57578],[100.44767,14.57544],[100.44768,14.57513],[100.44767,14.57486],[100.44767,14.57463],[100.44767,14.57444],[100.44762,14.57424],[100.44755,14.574],[100.4476,14.57363],[100.44791,14.57308],[100.44837,14.57239],[100.44879,14.57166],[100.44903,14.57096],[100.4491,14.57028],[100.44897,14.56962],[100.44864,14.56899],[100.4481,14.56838],[100.44743,14.5678],[100.44679,14.56728],[100.44625,14.56681],[100.44582,14.56636],[100.44548,14.5659],[100.4452,14.56544],[100.44494,14.56501],[100.44468,14.56461],[100.4444,14.56424],[100.44408,14.56388],[100.44369,14.56347],[100.44Line truncated
|
||||
Reference in new issue
Block a user