Warning

This feature is available in the Full MapKit SDK version

MMKBicycleRoute

@interface MMKBicycleRoute : NSObject

Bicycle route.

Summary

Properties

@property (nonatomic, readonly, nonnull) MMKBicycleWeight *weight;
Quantitative characteristics of the route

@property (nonatomic, readonly, nonnull) NSArray<MMKBicycleSection *> *sections;
Sections of the route

@property (nonatomic, readonly, nonnull) NSArray<MMKBicycleLeg *> *legs;
Legs of the route

@property (nonatomic, readonly, nonnull) MMKPolyline *geometry;
Polyline with geometry of the route

@property (nonatomic, readonly, nullable) MMKBicycleFlags *flags;
Specific properties of the route

@property (nonatomic, readonly, nonnull)
    NSArray<MMKBicycleConstructionSegment *> *constructions;

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

@property (nonatomic, readonly, nonnull)
    NSArray<MMKBicycleTrafficTypeSegment *> *trafficTypes;

List of traffic types (MMKBicycleTrafficTypeID) along the path

@property (nonatomic, readonly, nonnull)
    NSArray<MMKBicycleRestrictedEntry *> *restrictedEntries;

List of restricted entries with their positions along the path

@property (nonatomic, readonly, nonnull)
    NSArray<MMKBicycleViaPoint *> *viaPoints;

List of via points on the path

@property (nonatomic, readonly, nonnull)
    NSArray<MMKBicycleWayPoint *> *wayPoints;

List of waypoints on the route

@property (nonatomic, readonly, nonnull) MMKUriObjectMetadata *uriMetadata;
Route URI, which can be used with MMKBicycleRouter to fetch additional information about the route or can be bookmarked for future reference

@property (nonatomic, readonly, nullable) NSString *routeId;
Unique route id

Properties

weight

@property (nonatomic, readonly, nonnull) MMKBicycleWeight *weight;

Quantitative characteristics of the route.


sections

@property (nonatomic, readonly, nonnull) NSArray<MMKBicycleSection *> *sections;

Sections of the route.


legs

@property (nonatomic, readonly, nonnull) NSArray<MMKBicycleLeg *> *legs;

Legs of the route.


geometry

@property (nonatomic, readonly, nonnull) MMKPolyline *geometry;

Polyline with geometry of the route.


flags

@property (nonatomic, readonly, nullable) MMKBicycleFlags *flags;

Specific properties of the route.

Optional property, can be nil.


constructions

@property (nonatomic, readonly, nonnull)
    NSArray<MMKBicycleConstructionSegment *> *constructions;

List of specific constructions along the bicycle path, such as stairs or crossings. See MMKBicycleConstructionID for a complete list of constructions. MMKBicycleConstructionSegment::subpolyline fields of all segments cover the entire MMKBicycleRoute::geometry.


trafficTypes

@property (nonatomic, readonly, nonnull)
    NSArray<MMKBicycleTrafficTypeSegment *> *trafficTypes;

List of traffic types (MMKBicycleTrafficTypeID) along the path. Traffic type for an edge means who the road is designed for, such as pedestrians or cyclists. See MMKBicycleTrafficTypeID for a complete list of types. Fields MMKBicycleTrafficTypeSegment::subpolyline of all segments cover whole MMKBicycleRoute::geometry


restrictedEntries

@property (nonatomic, readonly, nonnull)
    NSArray<MMKBicycleRestrictedEntry *> *restrictedEntries;

List of restricted entries with their positions along the path.


viaPoints

@property (nonatomic, readonly, nonnull)
    NSArray<MMKBicycleViaPoint *> *viaPoints;

List of via points on the path. See MMKBicycleViaPoint for details


wayPoints

@property (nonatomic, readonly, nonnull)
    NSArray<MMKBicycleWayPoint *> *wayPoints;

List of waypoints on the route. See MMKBicycleWayPoint for details.


uriMetadata

@property (nonatomic, readonly, nonnull) MMKUriObjectMetadata *uriMetadata;

Route URI, which can be used with MMKBicycleRouter 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.