使用Google Maps在Android的平台上开发地图软件,怎么实现周边搜索功能?

2025-05-22 15:14:18
推荐回答(1个)
回答(1):

我也在做这个
Geocoder myGeocoder = new Geocoder(this,Locale.CHINA);
List

addressList = addressList = myGeocoder.getFromLocationName(address, 1);
这个getFromLocationName()地址返回经纬度,但在8中貌似不能用...听说7就可以,我还没测试过