| 225 | } |
| 226 | |
| 227 | RoadWarningMarkType GetRoadType(RoutingOptions::Road road) |
| 228 | { |
| 229 | if (road == RoutingOptions::Road::Toll) |
| 230 | return RoadWarningMarkType::Toll; |
| 231 | if (road == RoutingOptions::Road::Ferry) |
| 232 | return RoadWarningMarkType::Ferry; |
| 233 | if (road == RoutingOptions::Road::Dirty) |
| 234 | return RoadWarningMarkType::Dirty; |
| 235 | |
| 236 | CHECK(false, ("Invalid road type to avoid:", road)); |
| 237 | return RoadWarningMarkType::Count; |
| 238 | } |
| 239 | |
| 240 | drape_ptr<df::Subroute> CreateDrapeSubroute(vector<RouteSegment> const & segments, m2::PointD const & startPt, |
| 241 | double baseDistance, double baseDepth, routing::RouterType routerType) |
no outgoing calls
no test coverage detected