diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2015-06-09 14:03:19 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:59:34 +0300 |
commit | 6b014d1414ab893e3934cb3d1a1296621ebc0ef4 (patch) | |
tree | 9d8e87dec442567e346eab52d3737cde842d40b4 /map/framework.hpp | |
parent | 6fa1a4fca3fb041fb6e2a91d28b649dadc2e372e (diff) |
Added route clipping in following mode
Diffstat (limited to 'map/framework.hpp')
-rw-r--r-- | map/framework.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/map/framework.hpp b/map/framework.hpp index 5298a68d47..2f97150a4f 100644 --- a/map/framework.hpp +++ b/map/framework.hpp @@ -595,7 +595,8 @@ private: void RemoveRoute(); void InsertRoute(routing::Route const & route); void CheckLocationForRouting(location::GpsInfo const & info); - void MatchLocationToRoute(location::GpsInfo & info, location::RouteMatchingInfo & routeMatchingInfo) const; + void MatchLocationToRoute(location::GpsInfo & info, location::RouteMatchingInfo & routeMatchingInfo, + bool & hasDistanceFromBegin, double & distanceFromBegin) const; void CallRouteBuilded(routing::IRouter::ResultCode code, vector<storage::TIndex> const & absentCountries, vector<storage::TIndex> const & absentRoutingFiles); |