Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

「在哪裡」功能優化 #68

Open
deeper747 opened this issue Jan 20, 2022 · 2 comments
Open

「在哪裡」功能優化 #68

deeper747 opened this issue Jan 20, 2022 · 2 comments
Assignees

Comments

@deeper747
Copy link
Member

deeper747 commented Jan 20, 2022

點擊「在哪裡」時,現在會待到彰化縣鹿港鎮處。
想要讓對方選了什麼鄉鎮或縣市查詢,就跳到該縣市鄉鎮的中心點。

@deeper747 deeper747 changed the title [] 「在哪裡」功能優化 Jan 20, 2022
@deeper747 deeper747 added this to the 2021 Lunar New Year milestone Jan 21, 2022
@aelcenganda
Copy link
Contributor

我覺得這在下週三之前工太多了

@dyfu95 dyfu95 self-assigned this Jan 26, 2022
@dyfu95
Copy link
Contributor

dyfu95 commented Jan 26, 2022

點擊「在哪裡」時,現在會待到彰化縣鹿港鎮處
剛測了一下,應該不是帶到彰化縣鹿港鎮,而是使用者目前位置。

剛有做點survey,可以在使用者輸入區碼後,去打這支api https://api.opencube.tw/twzipcode
比如說,如果要取得區碼105的經緯度:https://api.opencube.tw/twzipcode?zip_code=105
如果成功取得經緯度,就將「在哪裡」連結的經緯度,換成上述取得的經緯度。
如果無法取得的話,則維持原樣(帶到目前位置)。

因為目前about page使用的框架寫法(Vue Composition API)我還不是很熟,所以過年前應該都沒時間去改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants