Interface Route

com.yandex.mapkit.transport.bicycle

public interface Route

Bicycle route.

Methods

List< ConstructionSegment > getConstructions()

List of specific constructions along the bicycle path, such as stairs or crossings.

Flags getFlags()

Specific properties of the route.

Polyline getGeometry()

Polyline with geometry of the route.

List< Leg > getLegs()

Legs of the route.

List< Section > getSections()

Sections of the route.

List< Spot > getSpots()

List of specific points with their positions along the path.

List< TrafficTypeSegment > getTrafficTypes()

List of traffic types (TrafficTypeID) along the path.

List< ViaPoint > getViaPoints()

List of via points on the path.

List< WayPoint > getWayPoints()

List of waypoints on the route.

Weight getWeight()

Quantitative characteristics of the route.

Method Detail

getConstructions

public List< ConstructionSegment > getConstructions ()

List of specific constructions along the bicycle path, such as stairs or crossings.

See ConstructionID for a complete list of constructions. ConstructionSegment#subpolyline fields of all segments cover the entire {link Route::geometry()}.

getFlags

public Flags getFlags ()

Specific properties of the route.

Optional property, can be null.

getGeometry

public Polyline getGeometry ()

Polyline with geometry of the route.

getLegs

public List< Leg > getLegs ()

Legs of the route.

getSections

public List< Section > getSections ()

Sections of the route.

getSpots

public List< Spot > getSpots ()

List of specific points with their positions along the path.

getTrafficTypes

public List< TrafficTypeSegment > getTrafficTypes ()

List of traffic types (TrafficTypeID) along the path.

Traffic type for an edge means who the road is designed for, such as pedestrians or cyclists. See TrafficTypeID for a complete list of types. Fields TrafficTypeSegment#subpolyline of all segments cover whole {link Route::geometry()}

getViaPoints

public List< ViaPoint > getViaPoints ()

List of via points on the path.

See ViaPoint for details

getWayPoints

public List< WayPoint > getWayPoints ()

List of waypoints on the route.

See WayPoint for details.

getWeight

public Weight getWeight ()

Quantitative characteristics of the route.