查詢 IKEA 台灣、香港、澳門門市與提貨點,並規劃前往路線
Translation pending
AI summary · website and README
CommerceHTML · JavaScriptGitHub @chienchitungOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
互動式地圖,列出 IKEA 台灣、香港、澳門的門市、規劃及訂購點、期間限定店,以及香港的超市提貨站與自助提貨櫃,並可規劃前往各據點的路線。 線上網址:https://ikea-na-store-map.netlify.app 英文版:https://ikea-na-store-map.netlify.app/?lang=en • 地圖與清單:48 個據點,依店型分類上色;可搜尋店名、地址,或搜尋「提貨櫃」篩選設有自助提貨櫃的據點。 • 我的位置:自動定位(瀏覽器 GPS/WiFi,失敗時退回 IP 估算),或手動在地圖上指定、拖曳藍點微調。 • 距離與交通時間:設定位置後,清單顯示直線距離,或切換為開車/大眾運輸/步行時間(最近 5 間)。 • 路線規劃:在地圖上畫出開車、大眾運輸、步行路線;大眾運輸分段顯示步行與各路線(含路線顏色、上下車站),台灣捷運在中文介面顯示正式中文線名。 • 深夜班次:大眾運輸以「現在出發」規劃;若深夜收班只剩步行路線,會提示並可改查下一個早上 10:00 出發的班次。 • 中英雙語:依瀏覽器語言自動選擇,右上角可切換;地圖底圖、路線站名也跟著切換。 • 手機版:地圖全螢幕,門市列表以底部面板開啟,地區與語言收在選單中。 • 設計:依 IKEA SKAPA 設計規範(顏色、按鈕尺寸、字型 Noto IKEA)。Read the full README ↗
互動式地圖,列出 IKEA 台灣、香港、澳門的門市、規劃及訂購點、期間限定店,以及香港的超市提貨站與自助提貨櫃,並可規劃前往各據點的路線。
線上網址:https://ikea-na-store-map.netlify.app 英文版:https://ikea-na-store-map.netlify.app/?lang=en
index.html 網頁(地圖、清單、所有介面與據點資料)
fonts/ Noto IKEA 英文字型(SIL Open Font License 1.1)
netlify/functions/routes.mjs 後端中介程式:代為呼叫 Google Routes API,API key 不會出現在網頁
netlify.toml Netlify 部署設定
網站由 Netlify 連結本 GitHub repo 自動部署:推送到 main 分支後約 30 秒上線。
main,Build command 留空(netlify.toml 已設定發布目錄與 Functions 位置)。GOOGLE_MAPS_API_KEY,設定後需重新部署一次才會生效。| 項目 | 查看位置 | 說明 |
|---|---|---|
| Google 呼叫次數、錯誤 | Google Cloud Console → Google Maps Platform → Metrics | 每日呼叫數與失敗原因(403 未啟用帳單、429 超過上限) |
| Google 上限 | APIs & Services → Routes API → Quotas | 每分鐘/每日請求上限,可自行調低 |
| Google 費用 | Billing → Reports、Budgets & alerts | 啟用帳單後才有資料,建議設定預算提醒 |
| Netlify Functions | Netlify → Functions → Usage | 免費方案每月 125,000 次請求、100 小時執行時間 |
Google 自 2025 年 3 月起改為每個 SKU 各自有每月免費額度(Essentials 等級每月 10,000 次,以官方計價頁為準)。本站目前的用法:
網頁本身是純 HTML,可用任何靜態伺服器預覽:
python -m http.server 8843
開啟 http://127.0.0.1:8843/ 。注意本機預覽不會執行 Netlify Function,交通時間與路線會顯示「暫時無法取得」;需要測試路線時,可安裝 Node.js 與 Netlify CLI 後執行 netlify dev(並在本機設定 GOOGLE_MAPS_API_KEY)。
據點資料在 index.html 的 const DATA = { tw: {...}, hk: {...} },每筆欄位:
| 欄位 | 說明 |
|---|---|
n | 編號(地圖標記上的數字) |
cat | 店型:store、city、cs、popup、popuphk、marketplace、3hreesixty、wellcome |
zh / en | 中文/英文店名 |
addr / addrEn | 中文/英文地址 |
lat / lon | 座標(建議取自 Google 地圖上該店家的位置) |
cid | Google 地圖店家編號,用於「導航」連結直接開啟店家頁面 |
locker / lockerEn | (選填)自助提貨櫃位置與開放時間 |
closed / closedEn | (選填)停業標示,例如「已結束」/「Ended」 |
英文地址與提貨櫃資訊來自 IKEA 香港、台灣官網英文頁面。各店型的數量、清單底部的說明會依資料自動計算,新增或刪除據點不需改其他程式。
TRAFFIC_UNAWARE 以降低費用),尖峰時段會比 Google 地圖導航短,路線資訊卡上有標註;大眾運輸依表定時刻表,不反映誤點。