This repository was archived by the owner on Sep 4, 2021. It is now read-only.
This repository was archived by the owner on Sep 4, 2021. It is now read-only.
Android: Why fetching 20 addresses? #81
Open
Description
According to API, recommended is 1-5, but in this packager/api was hard - coded as 20. So may not get proper results ...
package API Code:
List<Address> addresses = geocoder.getFromLocation(position.getDouble("lat"), position.getDouble("lng"), 20);
It should be like
List<Address> addresses = geocoder.getFromLocation(position.getDouble("lat"), position.getDouble("lng"), 2);
OR
Give an option to user, so user can pass that value.
Hope you understood, what i am trying to explain..
Metadata
Metadata
Assignees
Labels
No labels