Warning
This feature is available in the Full MapKit SDK version
YMKBicycleRoute
class YMKBicycleRoute : NSObject |
Bicycle route.
Summary
Properties
var weight: YMKBicycleWeight { get } |
var sections: [YMKBicycleSection] { get } |
var legs: [YMKBicycleLeg] { get } |
var geometry: YMKPolyline { get } |
var flags: YMKBicycleFlags? { get } |
var constructions: [YMKBicycleConstructionSegment] { get } |
var trafficTypes: [YMKBicycleTrafficTypeSegment] { get } |
var restrictedEntries: [YMKBicycleRestrictedEntry] { get } |
var viaPoints: [YMKBicycleViaPoint] { get } |
var wayPoints: [YMKBicycleWayPoint] { get } |
var uriMetadata: YMKUriObjectMetadata { get } |
var routeId: String? { get } |
Properties
weight
var weight: YMKBicycleWeight { get } |
Quantitative characteristics of the route.
sections
var sections: [YMKBicycleSection] { get } |
Sections of the route.
legs
var legs: [YMKBicycleLeg] { get } |
Legs of the route.
geometry
var geometry: YMKPolyline { get } |
Polyline with geometry of the route.
flags
var flags: YMKBicycleFlags? { get } |
Specific properties of the route.
Optional property, can be nil.
constructions
var constructions: [YMKBicycleConstructionSegment] { get } |
List of specific constructions along the bicycle path, such as stairs or crossings. See YMKBicycleConstructionID for a complete list of constructions. YMKBicycleConstructionSegment::subpolyline fields of all segments cover the entire YMKBicycleRoute::geometry.
trafficTypes
var trafficTypes: [YMKBicycleTrafficTypeSegment] { get } |
List of traffic types (YMKBicycleTrafficTypeID) along the path. Traffic type for an edge means who the road is designed for, such as pedestrians or cyclists. See YMKBicycleTrafficTypeID for a complete list of types. Fields YMKBicycleTrafficTypeSegment::subpolyline of all segments cover whole YMKBicycleRoute::geometry
restrictedEntries
var restrictedEntries: [YMKBicycleRestrictedEntry] { get } |
List of restricted entries with their positions along the path.
viaPoints
var viaPoints: [YMKBicycleViaPoint] { get } |
List of via points on the path. See YMKBicycleViaPoint for details
wayPoints
var wayPoints: [YMKBicycleWayPoint] { get } |
List of waypoints on the route. See YMKBicycleWayPoint for details.
uriMetadata
var uriMetadata: YMKUriObjectMetadata { get } |
Route URI, which can be used with YMKBicycleRouter to fetch additional information about the route or can be bookmarked for future reference.
routeId
var routeId: String? { get } |
Unique route id.
Optional property, can be nil.