Fix waypoint selection.

This commit is contained in:
Sandor Dornbush
2011-04-19 20:43:28 -07:00
parent 6cd9dfce8c
commit 9d4367cfac
2 changed files with 2 additions and 2 deletions
@@ -461,7 +461,7 @@ public class MapOverlay extends Overlay {
if (waypoint != null &&
dmin < 15000000 / Math.pow(2, mapView.getZoomLevel())) {
Intent intent = new Intent(context, WaypointDetails.class);
intent.putExtra("waypointid", waypoint.getId());
intent.putExtra(WaypointDetails.WAYPOINT_ID_EXTRA, waypoint.getId());
context.startActivity(intent);
return true;
}