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

逆地理编码增加经纬度

上级 25cd4a92
...@@ -685,6 +685,9 @@ ...@@ -685,6 +685,9 @@
[dict setValue:address.towncode forKey:@"townCode"]; [dict setValue:address.towncode forKey:@"townCode"];
//回调 //回调
[arguments setValue:dict forKey:@"searchRegeocodeResult"]; [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]; [_channel invokeMethod:@"camera#searchRegeocodeEvent" arguments:arguments];
} else { } else {
NSMutableDictionary *arguments = [NSMutableDictionary dictionary]; NSMutableDictionary *arguments = [NSMutableDictionary dictionary];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论