Show closest result of a Geocoder on map
问题 I've been stuck on the problem. i'm searching for Tesco stores in this geocoder. Is there anyway way of getting only the closest result of the geo.getFromLocationName? private void setUpMap() throws IOException { Geocoder geo = new Geocoder(getApplicationContext(), Locale.getDefault()); List<Address> addressList= geo.getFromLocationName("Tesco",1); Address add = addressList.get(0); String locality = add.getLocality(); double lat = addressList.get(0).getLatitude(); double lng = addressList.get