| 175 | } |
| 176 | |
| 177 | void AddTransitPedestrianSegment(m2::PointD const & destPoint, df::Subroute & subroute) |
| 178 | { |
| 179 | ASSERT_GREATER(subroute.m_polyline.GetSize(), 0, ()); |
| 180 | df::SubrouteStyle style(df::kRoutePedestrian, df::RoutePattern(4.0, 2.0)); |
| 181 | style.m_startIndex = subroute.m_polyline.GetSize() - 1; |
| 182 | subroute.m_polyline.Add(destPoint); |
| 183 | style.m_endIndex = subroute.m_polyline.GetSize() - 1; |
| 184 | subroute.AddStyle(style); |
| 185 | } |
| 186 | |
| 187 | void AddTransitShapes(vector<routing::transit::ShapeId> const & shapeIds, TransitShapesInfo const & shapes, |
| 188 | df::ColorConstant const & color, bool isInverted, df::Subroute & subroute) |
no test coverage detected