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

定位 #30

Open
HoneyWorld opened this issue May 23, 2023 · 0 comments
Open

定位 #30

HoneyWorld opened this issue May 23, 2023 · 0 comments

Comments

@HoneyWorld
Copy link

很疑惑,为什么没有api直接获取当前定位呢
有个需求,公司app用的是百度定位,为了保持一样,那小程序也需要
由于没有提供直接获取的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

1 participant