@Override
 public void onLocationUpdated(GeoPoint currentLoc) {
   if (isPathToBeDisplayed && loadMapTask.isCompleted()) {
     routeTo(destinationNodeId, isWalkOnly, currentLoc, true);
     isPathToBeDisplayed = false;
     destinationNodeId = -1;
     mapView.invalidate();
   }
 }