Permalink
Browse files

Show a dialog if no direction from amelie.driving is available

  • Loading branch information...
1 parent 441118d commit 38b463190f87193be56e36f024a35ad81762eddf @northOfThule northOfThule committed May 17, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/org/pathpal/GMapsActivity.java
@@ -93,7 +93,7 @@ public void onDirectionsAvailable(Route route, Mode mode) {
// callback if no driving direction where available
public void onDirectionsNotAvailable() {
- // TODO : Show an dialog if no direction where available!
+ showDialog(NO_PATH_ID);
}
public class PathOverlay extends Overlay {
@@ -110,7 +110,6 @@ public PathOverlay(List<GeoPoint> points, Mode m) {
@Override
public boolean onTap(GeoPoint p, MapView mapView) {
- System.out.println("YOU TAPPED THAT !!!");
// TODO : Be able to edit the leg, change travelpath etc
return super.onTap(p, mapView);
}

0 comments on commit 38b4631

Please sign in to comment.