Skip to content

Commit

Permalink
Merge pull request #159 from bannergress/google-maps-fallback-to-form…
Browse files Browse the repository at this point in the history
…atted-address

Google maps fallback to formatted address
  • Loading branch information
Poeschl authored May 21, 2021
2 parents 22a1907 + 6351cd9 commit edffd7d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ private PlaceInformation importPlaceInformation(Place place, GeocodingResult geo
}
}
}
throw new AssertionError();
result.setLongName(geocodingResult.formattedAddress);
result.setShortName(geocodingResult.formattedAddress);
return result;
}

private PlaceType mapAddressType(AddressType addressType) {
Expand Down

0 comments on commit edffd7d

Please sign in to comment.