提交 e470f82b authored 作者: 祁增奎's avatar 祁增奎

1.依赖报错问题修改

2.逆地理编码增加经纬度
上级 7ef60c6a
......@@ -683,11 +683,11 @@
[dict setValue:address.country forKey:@"country"];
[dict setValue:address.neighborhood forKey:@"neighborhood"];
[dict setValue:address.towncode forKey:@"townCode"];
// 增加经纬度
[dict setValue:@(request.location.latitude) forKey:@"latitude"];
[dict setValue:@(request.location.longitude) forKey:@"longitude"];
//回调
[arguments setValue:dict forKey:@"searchRegeocodeResult"];
// 增加经纬度
[arguments setValue:@(request.location.latitude) forKey:@"latitude"];
[arguments setValue:@(request.location.longitude) forKey:@"longitude"];
[_channel invokeMethod:@"camera#searchRegeocodeEvent" arguments:arguments];
} else {
NSMutableDictionary *arguments = [NSMutableDictionary dictionary];
......
......@@ -16,7 +16,7 @@ A new Flutter plugin.
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.dependency 'AMap3DMap'
s.dependency 'AMapNavi'
s.dependency 'AMapSearch'
s.static_framework = true
s.platform = :ios, '8.0'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论