Interface Route

com.yandex.mapkit.transport.bicycle

public interface Route

Bicycle route.

Methods

List< ConstructionID > 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< TrafficTypeID > getTrafficTypes()

List of traffic types (TrafficTypeID) along the path.

List< ViaPoint > getViaPoints()

List of via points on the path.

List< WayPoint > getWayPoints()

List of route waypoints.

Weight getWeight()

Quantitative characteristics of the route.

Method Detail

getConstructions

public List< ConstructionID > getConstructions ()

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

See ConstructionID for a complete list of constructions. List size is equal to the number of segments in the path geometry and 1 less than the geometry size. Each value in the list describes the corresponding geometry segment.

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< TrafficTypeID > 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. List size is equal to the number of segments in the path geometry and 1 less than the geometry size. Each value in the list describes the corresponding geometry segment.

getViaPoints

public List< ViaPoint > getViaPoints ()

List of via points on the path.

See ViaPoint for details

getWayPoints

public List< WayPoint > getWayPoints ()

List of route waypoints.

See WayPoint for details

getWeight

public Weight getWeight ()

Quantitative characteristics of the route.