public static void searchForAddress(String address) { switchToMapView(); Geocoder geocoder = new Geocoder(); geocoder.setViewport(getSearchBoundsAsLatLngBounds(20 * 1000)); geocoder.getLocations(address, new AddressHandler()); }