This commit is contained in:
sonora 2013-06-13 23:32:08 +02:00
parent cf9fccba9a
commit befcfae339

View file

@ -1257,7 +1257,7 @@ public class MapActivityActions implements DialogProvider {
onShow.onClick(v); onShow.onClick(v);
} }
//targetPointsHelper.setSingleDestination(location.getLatitude(), location.getLongitude(), name); //targetPointsHelper.setSingleDestination(location.getLatitude(), location.getLongitude(), name);
getMyApplication().getSettings().setPointToNavigate(latitude, longitude, true, name); getMyApplication().getSettings().setPointToNavigate(location.getLatitude(), location.getLongitude(), true, name);
targetPointsHelper.updatePointsFromSettings(); targetPointsHelper.updatePointsFromSettings();
// always enable and follow and let calculate it (GPS is not accessible in garage) // always enable and follow and let calculate it (GPS is not accessible in garage)
if(!routingHelper.isRouteBeingCalculated() && !routingHelper.isRouteCalculated() ) { if(!routingHelper.isRouteBeingCalculated() && !routingHelper.isRouteCalculated() ) {