Created
July 13, 2016 00:28
-
-
Save rterp/71e56b17b6fadb5e9972c235d4b2b993 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GeocodingService gs = new GeocodingService(); | |
GeocoderRequest geocoderRequest = new GeocoderRequest("Sao Paulo"); | |
gs.getGeocoding(geocoderRequest, (GeocodingResult[] results, GeocoderStatus status) -> { | |
System.out.println("Geocoding Results: " + results.length); | |
System.out.println("Lat long" + results[0].getGeometry().getLocation() ); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment