{"action":"closed","issue":{"url":"https://api.github.com/repos/Yukaii/cafenomad-app/issues/3","repository_url":"https://api.github.com/repos/Yukaii/cafenomad-app","labels_url":"https://api.github.com/repos/Yukaii/cafenomad-app/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Yukaii/cafenomad-app/issues/3/comments","events_url":"https://api.github.com/repos/Yukaii/cafenomad-app/issues/3/events","html_url":"https://github.com/Yukaii/cafenomad-app/issues/3","id":196362112,"number":3,"title":"顯示附近的咖啡廳","user":{"login":"Yukaii","id":4230968,"avatar_url":"https://avatars.githubusercontent.com/u/4230968?v=3","gravatar_id":"","url":"https://api.github.com/users/Yukaii","html_url":"https://github.com/Yukaii","followers_url":"https://api.github.com/users/Yukaii/followers","following_url":"https://api.github.com/users/Yukaii/following{/other_user}","gists_url":"https://api.github.com/users/Yukaii/gists{/gist_id}","starred_url":"https://api.github.com/users/Yukaii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yukaii/subscriptions","organizations_url":"https://api.github.com/users/Yukaii/orgs","repos_url":"https://api.github.com/users/Yukaii/repos","events_url":"https://api.github.com/users/Yukaii/events{/privacy}","received_events_url":"https://api.github.com/users/Yukaii/received_events","type":"User","site_admin":false},"labels":[{"id":503374491,"url":"https://api.github.com/repos/Yukaii/cafenomad-app/labels/feature","name":"feature","color":"e99695","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-19T09:03:08Z","updated_at":"2016-12-21T00:53:25Z","closed_at":"2016-12-21T00:53:25Z","body":"#2 的 UI 呈現等這個弄完再說。\r\n\r\nMap 在滑動停止時可以拿到目前的 latitude/longitude，要用拿到的經緯度去篩選附近的 cafes 列表。\r\n\r\n「附近」的定義：「目前位置」和各「目標咖啡店」兩點經緯度的差平方和小於「某個數值」。[目前][current]的地圖的顯示 Scale 是一個 [Magic number `0.003`][magic-number]，需要修正 😓 。以下列出可能需要釐清的問題：\r\n\r\n- [x] 經緯度對公里的換算\r\n- [x] react native Dimension API\r\n- [x] 手機 Viewport 和經緯度的處裡\r\n\r\n拿到咖啡廳列表後簡單地疊個 Text View 上去就好了。\r\n\r\n[current]: https://github.com/Yukaii/cafenomad-app/tree/adcb349caf3a8750cb772d288bdb2fba2ae98523\r\n[magic-number]: https://github.com/Yukaii/cafenomad-app/blob/adcb349caf3a8750cb772d288bdb2fba2ae98523/src/App.js#L13"}}
{"actor":{"display_login":"Yukaii"}}