Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #406 from vreixo/issue396
Browse files Browse the repository at this point in the history
Fix #396 - Temporary workaround to don't use bounding box when Android g...
  • Loading branch information
barbeau committed Sep 4, 2014
2 parents 081d7bb + e73a94d commit 13abdaa
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,13 @@ public static ArrayList<CustomAddress> processGeocoding(Context context, Server
try {
List<Address> androidTypeAddresses;
if (selectedServer != null) {
//Temporary workaround while Google does not solve the problem with Android Geocoder, see issue #396
androidTypeAddresses = gc.getFromLocationName(address,
context.getResources().getInteger(R.integer.geocoder_max_results),
context.getResources().getInteger(R.integer.geocoder_max_results)/*,
selectedServer.getLowerLeftLatitude(),
selectedServer.getLowerLeftLongitude(),
selectedServer.getUpperRightLatitude(),
selectedServer.getUpperRightLongitude());
selectedServer.getUpperRightLongitude()*/);
} else {
androidTypeAddresses = gc.getFromLocationName(address,
context.getResources().getInteger(R.integer.geocoder_max_results));
Expand Down

0 comments on commit 13abdaa

Please sign in to comment.