Just-in-time planning in route guidance