YMKBicycleRoute
Важно
This feature is available in the Full MapKit SDK version
|
@interface YMKBicycleRoute : NSObject |
Bicycle route.
Summary
Properties
|
@property (nonatomic, readonly, nonnull) YMKBicycleWeight *weight; |
|
@property (nonatomic, readonly, nonnull) NSArray<YMKBicycleSection *> *sections; |
|
@property (nonatomic, readonly, nonnull) NSArray<YMKBicycleLeg *> *legs; |
|
@property (nonatomic, readonly, nonnull) YMKPolyline *geometry; |
|
@property (nonatomic, readonly, nullable) YMKBicycleFlags *flags; |
|
@property (nonatomic, readonly, nonnull) |
|
@property (nonatomic, readonly, nonnull) |
|
@property (nonatomic, readonly, nonnull) |
|
@property (nonatomic, readonly, nonnull) |
|
@property (nonatomic, readonly, nonnull) |
|
@property (nonatomic, readonly, nonnull) YMKUriObjectMetadata *uriMetadata; |
|
@property (nonatomic, readonly, nullable) NSString *routeId; |
Properties
weight
|
@property (nonatomic, readonly, nonnull) YMKBicycleWeight *weight; |
Quantitative characteristics of the route.
sections
|
@property (nonatomic, readonly, nonnull) NSArray<YMKBicycleSection *> *sections; |
Sections of the route.
legs
|
@property (nonatomic, readonly, nonnull) NSArray<YMKBicycleLeg *> *legs; |
Legs of the route.
geometry
|
@property (nonatomic, readonly, nonnull) YMKPolyline *geometry; |
Polyline with geometry of the route.
flags
|
@property (nonatomic, readonly, nullable) YMKBicycleFlags *flags; |
Specific properties of the route.
Optional property, can be nil.
constructions
|
@property (nonatomic, readonly, nonnull) |
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
|
@property (nonatomic, readonly, nonnull) |
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
|
@property (nonatomic, readonly, nonnull) |
List of restricted entries with their positions along the path.
viaPoints
|
@property (nonatomic, readonly, nonnull) |
List of via points on the path. See YMKBicycleViaPoint for details
wayPoints
|
@property (nonatomic, readonly, nonnull) |
List of waypoints on the route. See YMKBicycleWayPoint for details.
uriMetadata
|
@property (nonatomic, readonly, nonnull) YMKUriObjectMetadata *uriMetadata; |
Route URI, which can be used with YMKBicycleRouter to fetch additional information about the route or can be bookmarked for future reference.
routeId
|
@property (nonatomic, readonly, nullable) NSString *routeId; |
Unique route id.
Optional property, can be nil.