android - Geocoder returns multiple addresses -
in android's geocoder, method getfromlocation
can return more 1 address given lat long
. lat long
uniquely represents location on earth surface, why return multiple objects?
reverse geocoding translates latitude, longitude human-readable address. however, there different objects may interested in. example, can search nearest street address, nearest postal code, neighborhood, city, etc. reason reverse geocoder returns more 1 result.
please @ example in geocoder tool.
as can see first result has type street_address, second result has type bus_station, third has type neighborhood, , on until country level.
hope answer addresses doubts.
Comments
Post a Comment