List of usage examples for com.google.gwt.maps.client.services GeocoderStatus ZERO_RESULTS
GeocoderStatus ZERO_RESULTS
To view the source code for com.google.gwt.maps.client.services GeocoderStatus ZERO_RESULTS.
Click Source Link
From source file:org.rebioma.client.MapView.java
License:Apache License
@Override public void onCallback(JsArray<com.google.gwt.maps.client.services.GeocoderResult> results, GeocoderStatus status) {//from w w w . ja va2 s. c o m if (GeocoderStatus.OK.equals(status)) { mapGeocoderResult(results); handleHistoryEvent(); } else if (GeocoderStatus.ZERO_RESULTS.equals(status)) { Window.confirm("Address not found. Add to the Madagascar Gazeteer?"); } else { //failure for (Marker marker : geocoderMarkers) { marker.setMap((MapWidget) null); } } }