Важно

This feature is available in the Full MapKit SDK version

YMKBicycleRoute

class YMKBicycleRoute : NSObject

Bicycle route.

Summary

Properties

var weightYMKBicycleWeight { get }
Quantitative characteristics of the route

var sections: [YMKBicycleSection] { get }
Sections of the route

var legs: [YMKBicycleLeg] { get }
Legs of the route

var geometryYMKPolyline { get }
Polyline with geometry of the route

var flagsYMKBicycleFlags? { get }
Specific properties of the route

var constructions: [YMKBicycleConstructionSegment] { get }
List of specific constructions along the bicycle path, such as stairs or crossings

var trafficTypes: [YMKBicycleTrafficTypeSegment] { get }
List of traffic types (YMKBicycleTrafficTypeID) along the path

var restrictedEntries: [YMKBicycleRestrictedEntry] { get }
List of restricted entries with their positions along the path

var viaPoints: [YMKBicycleViaPoint] { get }
List of via points on the path

var wayPoints: [YMKBicycleWayPoint] { get }
List of waypoints on the route

var uriMetadataYMKUriObjectMetadata { get }
Route URI, which can be used with YMKBicycleRouter to fetch additional information about the route or can be bookmarked for future reference

var routeId: String? { get }
Unique route id

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.


Предыдущая
Следующая