I use QGeoRoutingManager to calculate a route and when GPS position changes I call:
The reply has the following error string:Code:if(m_routingManager->supportsRouteUpdates()) { qDebug()<<"Update route supported"; QGeoRouteReply* reply = m_routingManager->updateRoute(currentRoute, info.coordinate()); if (reply->isFinished()) { qDebug()<<"Route reply is finished"; if (reply->error() != QGeoRouteReply::NoError) { routeCalculated(reply); } else { routeError(reply, reply->error(), reply->errorString()); } } }
Obviously, if I call calculateRoute with new coordinates I will get the new route, but why does not updateRoute work?Code:routeCalculated "Error downloading http://prd.lbsp.navteq.com/routing/6.2/getroute.xml?routeid=REMtMRoAAADhenpCppvtQeR6ekKgm-1B9B29It-U6Qmh27cHdZXpCVnatwfRJF11wwfE8PSKHPAB3F1X3VgRRRXBZNdVtwO6uK66AYGKKoLSqqtu-BkLdWPPWKgbwVNX3bAzFupGn9RV9wGao666D-AMddV9gPOnq-4DcJ3fdBNU5zfdB6s&pos=62.62,29.7&mode0=fastestNow;pedestrian&linkattributes=sh,le&maneuverattributes=po,tt,le,di,li&routeattributes=sm,sh,bb,lg&legattributes=links,maneuvers&departure=2011-08-18T12:30:29Z&instructionformat=text&language=ro_RO - server replied: Forbidden"



