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

使用getReGeocode定位应用闪退 #14

Open
zhuanglong opened this issue Apr 27, 2017 · 10 comments
Open

使用getReGeocode定位应用闪退 #14

zhuanglong opened this issue Apr 27, 2017 · 10 comments

Comments

@zhuanglong
Copy link

xcode弹出该提示
jietu20170427-101049

@zhuanglong
Copy link
Author

在逆地理定位成功返回结果赋值的地方,加上三元表达式判断赋值。
jietu20170427-163713

@iamlion
Copy link

iamlion commented May 5, 2017

我也遇到了同样的错误

@sayhei
Copy link

sayhei commented May 10, 2017

{ POIName: null,
province: null,
street: null,
AOIName: null,
verticalAccuracy: -1,
formattedAddress: '',
city: null,
citycode: null,
district: null,
adcode: null,
coordinate: { longitude: -122.406417, latitude: 37.785834 },
country: null,
number: null,
horizontalAccuracy: 5 }

因为很多值没有拿到,有谁拿到正确的更丰富的信息了么

@zhuanglong
Copy link
Author

更改模拟器的定位坐标

@iamlion
Copy link

iamlion commented May 10, 2017

我的不是模拟器,真机也拿不到信息,添加你图片中的代码后,才正常的。

@JoshYuJump
Copy link

@zhuanglong Could you push a PR to fix the issue?

@SpadeGod
Copy link

SpadeGod commented Jul 5, 2017

@iamlion 兄弟,我也遇到这个问题,现在你解决了吗?

@iamlion
Copy link

iamlion commented Jul 5, 2017

@SpadeGod 没解决,用的1楼的办法。

@SpadeGod
Copy link

SpadeGod commented Jul 5, 2017

@iamlion 可以了,原来模拟器获取不到逆地理数据,要真机才行

@JoshYuJump
Copy link

JoshYuJump commented Jul 5, 2017 via email

simman added a commit to rnkit/rnkit-amap-location that referenced this issue Aug 22, 2017
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

5 participants