[爆卦] 台灣製的南韓口罩地圖上線
看板Gossiping作者olctw (facebook.com/k.olc.tw)時間4年前 (2020/03/10 19:56)推噓259(265推 6噓 43→)留言314則, 287人參與討論串1/1
Mask Map for South Korea Online, Made in Taiwan (台灣製的南韓口罩地圖上線)
FB 討論:
https://m.facebook.com/story.php?story_fbid=1462913000548825&id=282921805214623
(中文內容放在英文後面)
I had built a Mask Map for Taiwan before(*1). The member of FtO(*2) in South Kor
ea telling us that the government of South Korea planned to release real time st
ock information of face masks. Then I just tried to build the Mask Map for South
Korea. As South Korea government provided a completed API(*3), it's easier for
developers. I only have to deal with the interface and data.
Mask Map for South Korea - https://kiang.github.io/covid19-kr-masks/
By opening using browser, it will show an alert window to ask permission getting
the position from your device. If you click to accept, the page will auto navig
ate you to where you are and show a blue circle to mark your position. Each tria
ngle in the map represented a pharmacy or the point you could buy face masks. Th
e color of triangle is showing the index of stock for face masks. Green means pl
enty, yellow = some, red = few, and grey means empty. Clicking the triangle will
provide details of the pharmacy/point. Below the information you could find but
tons providing navigation services by Google/Here WeGo/Bing. Clicking the button
will bring you to each service guiding you how to get to the pharmacy/point.
Clicking the gear icon in the sidebar you could get two drop down lists for prov
inces and cities. Each time you choose a location, the map will navigate you the
the center of that province or city. Once the map be moved, the url will change
following the center of the map. You could copy the full url to share the real
time stock information with your friends.
The information is for reference only. It may not the same as the real number in
the pharmacy/point. But with the map you could prevent wasting too much time fi
nding the pharmacy/point to buy face masks.
#TaiwanCanHelp
基於製作藥局口罩採購地圖(*1)的經驗,在 FtO(*2) 的南韓朋友轉知南韓政府也打算釋出
即時的口罩庫存資訊後,我就嘗試製作了南韓的版本;南韓政府提供的是完整的應用程式介
面(API)(*3),因此對於應用開發者來說簡單很多,只要處理畫面與資料的呈現。
南韓口罩地圖 - https://kiang.github.io/covid19-kr-masks/
透過瀏覽器開啟後一般會跳出提示,如果願意授權使用設備的位置,網頁會自動定位到行動
裝置提供的地理點位,同時在地圖會以藍色圓點標記所在位置;藥局位置就是地圖中的三角
形圖示,綠色代表口罩庫存充裕、黃色表示庫存開始吃緊、紅色表示庫存即將售完、灰色則
是代表已經售完,點選個別圖示後會顯示該地點的詳細資料,資料下方則是 Google / Here
WeGo / Bing 等地圖應用提供的導航服務,點選後就會帶出個別地圖的路線導航。
點選右邊選單的齒輪圖示會看到兩個下拉選單,包含省份與城市,每次選擇一個項目地圖就
會自動導引你到這個省份或城市的中間點;地圖的中心點變動時網址會跟著改變,你可以直
接把網址複製給朋友來分享這個地方的口罩庫存資訊。
提供的資訊僅供參考,實際上還是以個別單位現場的庫存為主,但是這樣的資訊可以作為採
購的參考,避免花太多時間去尋找可以購買口罩的地方。
藥局口罩採購地圖 - https://kiang.github.io/pharmacies/
FtO - https://g0v.hackmd.io/@pm5/rJriRnlqE/%2FbpFogRpfRj-7QcTXnX5ZEw?type=book
南韓政府口罩庫存 API - https://app.swaggerhub.com/apis/Promptech/public-mask-inf
o/20200307-oas3
--
kiang
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 223.139.19.14 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/Gossiping/M.1583841410.A.3D2.html
噓
03/10 19:57,
4年前
, 1F
03/10 19:57, 1F
推
03/10 19:57,
4年前
, 2F
03/10 19:57, 2F
→
03/10 19:57,
4年前
, 3F
03/10 19:57, 3F
推
03/10 19:57,
4年前
, 4F
03/10 19:57, 4F
推
03/10 19:57,
4年前
, 5F
03/10 19:57, 5F
推
03/10 19:58,
4年前
, 6F
03/10 19:58, 6F
※ olctw:轉錄至看板 nCoV2019 03/10 19:59
推
03/10 19:59,
4年前
, 7F
03/10 19:59, 7F
黑色代表沒有資料,或是開發文件沒有寫到的狀態
推
03/10 20:00,
4年前
, 8F
03/10 20:00, 8F
推
03/10 20:00,
4年前
, 9F
03/10 20:00, 9F
應該會吧,跟台灣一樣同時有許多應用上線,我的有列在上面
推
03/10 20:00,
4年前
, 10F
03/10 20:00, 10F
推
03/10 20:02,
4年前
, 11F
03/10 20:02, 11F
推
03/10 20:04,
4年前
, 12F
03/10 20:04, 12F
推
03/10 20:05,
4年前
, 13F
03/10 20:05, 13F
推
03/10 20:05,
4年前
, 14F
03/10 20:05, 14F
推
03/10 20:07,
4年前
, 15F
03/10 20:07, 15F
推
03/10 20:07,
4年前
, 16F
03/10 20:07, 16F
→
03/10 20:07,
4年前
, 17F
03/10 20:07, 17F
推
03/10 20:07,
4年前
, 18F
03/10 20:07, 18F
推
03/10 20:10,
4年前
, 19F
03/10 20:10, 19F
→
03/10 20:10,
4年前
, 20F
03/10 20:10, 20F
→
03/10 20:11,
4年前
, 21F
03/10 20:11, 21F
推
03/10 20:12,
4年前
, 22F
03/10 20:12, 22F
推
03/10 20:14,
4年前
, 23F
03/10 20:14, 23F
推
03/10 20:14,
4年前
, 24F
03/10 20:14, 24F
→
03/10 20:14,
4年前
, 25F
03/10 20:14, 25F
推
03/10 20:14,
4年前
, 26F
03/10 20:14, 26F
推
03/10 20:15,
4年前
, 27F
03/10 20:15, 27F
推
03/10 20:15,
4年前
, 28F
03/10 20:15, 28F
→
03/10 20:15,
4年前
, 29F
03/10 20:15, 29F
→
03/10 20:16,
4年前
, 30F
03/10 20:16, 30F
他們也有人做,只是因為跟韓國朋友聊到就順便把既有作品改一下支援韓國資料
推
03/10 20:17,
4年前
, 31F
03/10 20:17, 31F
對啊,所以台灣的要自己想辦法準備主機去處理資料,如果有 API 就單純很多
還有 246 則推文
還有 28 段內文
推
03/11 01:38,
4年前
, 278F
03/11 01:38, 278F
→
03/11 01:39,
4年前
, 279F
03/11 01:39, 279F
→
03/11 01:40,
4年前
, 280F
03/11 01:40, 280F
推
03/11 01:44,
4年前
, 281F
03/11 01:44, 281F
推
03/11 01:49,
4年前
, 282F
03/11 01:49, 282F
推
03/11 01:53,
4年前
, 283F
03/11 01:53, 283F
→
03/11 01:53,
4年前
, 284F
03/11 01:53, 284F
推
03/11 01:56,
4年前
, 285F
03/11 01:56, 285F
推
03/11 02:00,
4年前
, 286F
03/11 02:00, 286F
推
03/11 02:17,
4年前
, 287F
03/11 02:17, 287F
推
03/11 02:23,
4年前
, 288F
03/11 02:23, 288F
推
03/11 02:36,
4年前
, 289F
03/11 02:36, 289F
推
03/11 03:08,
4年前
, 290F
03/11 03:08, 290F
推
03/11 04:26,
4年前
, 291F
03/11 04:26, 291F
→
03/11 04:26,
4年前
, 292F
03/11 04:26, 292F
→
03/11 04:27,
4年前
, 293F
03/11 04:27, 293F
→
03/11 04:27,
4年前
, 294F
03/11 04:27, 294F
→
03/11 05:09,
4年前
, 295F
03/11 05:09, 295F
推
03/11 05:32,
4年前
, 296F
03/11 05:32, 296F
推
03/11 06:49,
4年前
, 297F
03/11 06:49, 297F
推
03/11 07:40,
4年前
, 298F
03/11 07:40, 298F
→
03/11 07:40,
4年前
, 299F
03/11 07:40, 299F
→
03/11 07:40,
4年前
, 300F
03/11 07:40, 300F
底圖是 Open Street Map - https://www.openstreetmap.org/
使用 Naver Map 的問題大概是可能面臨收費問題,以及他們並沒有提供程式需要的標準介
面,所以現在只是單純加一個按鈕讓大家可以直接點過去 Naver Map 進行導航
推
03/11 08:05,
4年前
, 301F
03/11 08:05, 301F
推
03/11 08:10,
4年前
, 302F
03/11 08:10, 302F
推
03/11 08:39,
4年前
, 303F
03/11 08:39, 303F
推
03/11 08:46,
4年前
, 304F
03/11 08:46, 304F
推
03/11 09:38,
4年前
, 305F
03/11 09:38, 305F
推
03/11 10:07,
4年前
, 306F
03/11 10:07, 306F
※ 編輯: olctw (220.130.96.70 臺灣), 03/11/2020 10:17:34
推
03/11 12:09,
4年前
, 307F
03/11 12:09, 307F
推
03/11 16:58,
4年前
, 308F
03/11 16:58, 308F
推
03/11 17:22,
4年前
, 309F
03/11 17:22, 309F
推
03/11 18:11,
4年前
, 310F
03/11 18:11, 310F
→
03/11 18:11,
4年前
, 311F
03/11 18:11, 311F
推
03/11 19:36,
4年前
, 312F
03/11 19:36, 312F
推
03/11 22:43,
4年前
, 313F
03/11 22:43, 313F
推
03/11 22:55,
4年前
, 314F
03/11 22:55, 314F