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

android longitudeDelta,latitudeDelta 报错 #3

Open
deming1990 opened this issue Jul 4, 2016 · 3 comments
Open

android longitudeDelta,latitudeDelta 报错 #3

deming1990 opened this issue Jul 4, 2016 · 3 comments

Comments

@deming1990
Copy link

AMapViewManager.java
AMapView.java
里面 longitudeDeltalatitudeDelta 不存在
能修为下面的么

lngDelta = region.hasKey("longitudeDelta") ? region.getDouble("longitudeDelta") : 0.0;
latDelta = region.hasKey("latitudeDelta") ? region.getDouble("latitudeDelta") : 0.0;
@marshalYuan
Copy link
Member

AMapView.java里我catch了 NoSuchKeyExceptionAMapViewManager.java没有加,我会参考你的写法修改的

@marshalYuan
Copy link
Member

v0.3.7已改

@deming1990
Copy link
Author

@marshalYuan 非常感谢 , 还有个小建议 (^ _ ^)

let addressData = await AMapView.Search.AMapRegeocodeSearch(position, 1500);

我在IOS中只想用AMapView.Search.AMapRegeocodeSearch这个功能,但是这个功能是需要apikey,但是api key 是在AMap.m中的createMap这个方法里面,这需要我创建一个AMap对象,目前我是在Search相关的方法里面加入了apikey。因为Search和Map是相互独立的功能,能否在这个地方修改下

@marshalYuan marshalYuan reopened this Jul 21, 2016
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

2 participants