Package com.ehealthsystem.map
Class Geocoder
java.lang.Object
com.ehealthsystem.map.Geocoder
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Geocoder
public Geocoder()
-
-
Method Details
-
geocode
public static com.google.maps.model.GeocodingResult geocode(String formattedAddress) throws IOException, InterruptedException, com.google.maps.errors.ApiException Verifies an address At least one parameter must be non-empty- Parameters:
formattedAddress
- consisting of street (and optionally including number) and zip code- Returns:
- if address was found: the entered address as GeocodingResult
- Throws:
IOException
InterruptedException
com.google.maps.errors.ApiException
-