[英]How to get Lat and Long from google in React Native
我正在尝试使用本机反应从谷歌获得lat and long
。 我是 React native 的新手,没有找到任何资源来解决我的问题。 有人可以帮我吗?
谢谢
必须添加到您的项目 react-native-geolocation-service,这里是链接https://github.com/Agontuk/react-native-geolocation-service
Geolocation.getCurrentPosition 是我用来获取位置的方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.